mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[CodeGen] Don't emit a random reference to the personality function
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
This commit is contained in:
@@ -548,10 +548,6 @@ void AsmPrinter::EmitFunctionHeader() {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user