diff options
author | Eric Christopher <echristo@apple.com> | 2009-08-26 21:30:49 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-08-26 21:30:49 +0000 |
commit | d44fff7849034fc17d6a0e9f9926542865bb7881 (patch) | |
tree | f77a5472a64688ef8ba6b93b3eb72d5f84eaba44 /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | cf29697266a78f74b4c00675ae54e3826a03fec1 (diff) |
If we're emitting additional CIEs due to personality functions
don't emit the default one. Explicitly check for the NULL
CIE later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index cbd438bc40..170ca241b6 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -203,7 +203,7 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { // If there is a personality and landing pads then point to the language // specific data area in the exception table. - if (EHFrameInfo.PersonalityIndex) { + if (MMI->getPersonalities()[0] != NULL) { Asm->EmitULEB128Bytes(4); Asm->EOL("Augmentation size"); |