mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
GhostLinkage should not reach asm printing stage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17750 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a8a42a9b4
commit
d2691fdf18
@ -144,6 +144,9 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||
else
|
||||
SwitchSection(O, CurSection, ".data");
|
||||
break;
|
||||
case GlobalValue::GhostLinkage:
|
||||
std::cerr << "GhostLinkage cannot appear in X86AsmPrinter!\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
emitAlignment(Align);
|
||||
|
Loading…
x
Reference in New Issue
Block a user