mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
Move the EH symbol to the asm printer and use it for the SJLJ case too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -960,10 +960,7 @@ EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV) {
|
||||
|
||||
MCSymbol *MCSym;
|
||||
if (ACPV->isLSDA()) {
|
||||
SmallString<128> Str;
|
||||
raw_svector_ostream OS(Str);
|
||||
OS << DL->getPrivateGlobalPrefix() << "_LSDA_" << getFunctionNumber();
|
||||
MCSym = OutContext.GetOrCreateSymbol(OS.str());
|
||||
MCSym = getCurExceptionSym();
|
||||
} else if (ACPV->isBlockAddress()) {
|
||||
const BlockAddress *BA =
|
||||
cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress();
|
||||
|
Reference in New Issue
Block a user