mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Add a bool to indicate if we should set the "indirect encoding" bit in the Dwarf
information for EH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2789,7 +2789,12 @@ private:
|
||||
if (Personality) {
|
||||
Asm->EmitULEB128Bytes(7);
|
||||
Asm->EOL("Augmentation Size");
|
||||
Asm->EmitInt8(DW_EH_PE_pcrel | DW_EH_PE_sdata4 | DW_EH_PE_indirect);
|
||||
|
||||
if (TAI->getNeedsIndirectEncoding())
|
||||
Asm->EmitInt8(DW_EH_PE_pcrel | DW_EH_PE_sdata4 | DW_EH_PE_indirect);
|
||||
else
|
||||
Asm->EmitInt8(DW_EH_PE_pcrel | DW_EH_PE_sdata4);
|
||||
|
||||
Asm->EOL("Personality (pcrel sdata4 indirect)");
|
||||
|
||||
PrintRelDirective();
|
||||
|
Reference in New Issue
Block a user