diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-01 04:49:54 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-01 04:49:54 +0000 |
commit | 750cb6155376db8b54d99c31b1914470ee652d52 (patch) | |
tree | df128ef139adfbfeedeccda483b5df57f7dac4b4 /llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp | |
parent | af538d9ee6ff71e4beb950943b5e22d0a4eefed1 (diff) | |
download | bcm5719-llvm-750cb6155376db8b54d99c31b1914470ee652d52.tar.gz bcm5719-llvm-750cb6155376db8b54d99c31b1914470ee652d52.zip |
GCC uses a different encoding of pointers in the FDE when using
-fno-dwarf2-cfi-asm. Implement the same behavior.
llvm-svn: 130637
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp index 751901183cd..b50d8bd3cec 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp @@ -92,7 +92,7 @@ void DwarfTableException::EmitCIE(const Function *PersonalityFn, unsigned Index) // personality function reference: unsigned LSDAEncoding = TLOF.getLSDAEncoding(); - unsigned FDEEncoding = TLOF.getFDEEncoding(); + unsigned FDEEncoding = TLOF.getFDEEncoding(false); unsigned PerEncoding = TLOF.getPersonalityEncoding(); char Augmentation[6] = { 0 }; @@ -168,7 +168,7 @@ void DwarfTableException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); unsigned LSDAEncoding = TLOF.getLSDAEncoding(); - unsigned FDEEncoding = TLOF.getFDEEncoding(); + unsigned FDEEncoding = TLOF.getFDEEncoding(false); Asm->OutStreamer.SwitchSection(TLOF.getEHFrameSection()); |