diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-01-18 19:36:27 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-01-18 19:36:27 +0000 |
commit | a73e471c624aed4b80fd4468523df203dc19a87e (patch) | |
tree | 23938b90f1d315ff060a6c64554d42bdba0b256d /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | e15bbff98dbbce2e3253bcc5489712ec011e2f60 (diff) | |
download | bcm5719-llvm-a73e471c624aed4b80fd4468523df203dc19a87e.tar.gz bcm5719-llvm-a73e471c624aed4b80fd4468523df203dc19a87e.zip |
- Add a comment to the callback indicating that it's *extremely* not a good
idea, but unfortunately necessary.
- Default to using 4-bytes for the LSDA pointer encoding to agree with the
encoded value in the CIE.
llvm-svn: 93753
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index 8de9bd65cac..01c32647740 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -283,7 +283,7 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { if (MMI->getPersonalities()[0] != NULL) { bool is4Byte = TD->getPointerSize() == sizeof(int32_t); - if (Asm->TM.getLSDAEncoding() == DwarfLSDAEncoding::FourByte) { + if (Asm->TM.getLSDAEncoding() != DwarfLSDAEncoding::EightByte) { Asm->EmitULEB128Bytes(4); Asm->EOL("Augmentation size"); |