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
This commit is contained in:
Eric Christopher
2009-08-26 21:30:49 +00:00
parent cf29697266
commit d44fff7849
2 changed files with 8 additions and 3 deletions

View File

@ -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");