This should fix issues we've been seeing with Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240036
91177308-0d34-0410-b5e6-
96231b3b80d8
if (F->hasPrefixData())
EmitGlobalConstant(F->getPrefixData());
- // Emit the personality function.
- if (F->hasPersonalityFn())
- EmitGlobalConstant(F->getPersonalityFn());
-
// Emit the CurrentFnSym. This is a virtual function to allow targets to
// do their wild and crazy things as required.
EmitFunctionEntryLabel();
declare i32 @__gxx_personality_v0(...)
+; X64-NOT: .quad ___gxx_personality_v0
; X64: .cfi_personality 155, ___gxx_personality_v0
+; X32-NOT: .long ___gxx_personality_v0
; X32: .cfi_personality 155, L___gxx_personality_v0$non_lazy_ptr
; X32: .section __IMPORT,__pointers,non_lazy_symbol_pointers