Skip to content

Commit 04fb452

Browse files
committed
fixup! [BOLT] Use ULEB128 encoding for PIE/DSO exception tables
1 parent 0c3cda3 commit 04fb452

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bolt/lib/Core/BinaryEmitter.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,9 +976,8 @@ void BinaryEmitter::emitLSDA(BinaryFunction &BF, const FunctionFragment &FF) {
976976
Streamer.emitLabel(TTBaseRefLabel);
977977
}
978978

979-
// Emit the landing pad call site table. We use signed data4 since we can emit
980-
// a landing pad in a different part of the split function that could appear
981-
// earlier in the address space than LPStart.
979+
// Emit encoding of entries in the call site table. The format is used for the
980+
// call site start, length, and corresponding landing pad.
982981
if (BC.HasFixedLoadAddress)
983982
Streamer.emitIntValue(dwarf::DW_EH_PE_sdata4, 1);
984983
else

0 commit comments

Comments
 (0)