From: Misha Brukman Date: Sun, 14 Nov 2004 21:03:49 +0000 (+0000) Subject: GhostLinkage should not reach asm printing stage X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d2691fdf189738fd6e9cc1463012ba07776899a2;p=oota-llvm.git GhostLinkage should not reach asm printing stage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17750 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index a57c2fe6799..32e8041eea0 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -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);