mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Get exception handling working again on 64 bit
Darwin. This is a hack of course, but it does at least look at the right thing: gotpcrel means that this is already an offset, so an explicit offset is not needed (and wrong). I think this is good enough for the moment: Anton is working on something better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2856,6 +2856,7 @@ private:
|
|||||||
O << TAI->getPersonalityPrefix();
|
O << TAI->getPersonalityPrefix();
|
||||||
Asm->EmitExternalGlobal((const GlobalVariable *)(Personality));
|
Asm->EmitExternalGlobal((const GlobalVariable *)(Personality));
|
||||||
O << TAI->getPersonalitySuffix();
|
O << TAI->getPersonalitySuffix();
|
||||||
|
if (strcmp(TAI->getPersonalitySuffix(), "+4@GOTPCREL"))
|
||||||
O << "-" << TAI->getPCSymbol();
|
O << "-" << TAI->getPCSymbol();
|
||||||
Asm->EOL("Personality");
|
Asm->EOL("Personality");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user