[llvm-commits] [llvm] r75083 - /llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Wed Jul 8 17:49:29 PDT 2009
Author: lattner
Date: Wed Jul 8 19:49:29 2009
New Revision: 75083
URL: http://llvm.org/viewvc/llvm-project?rev=75083&view=rev
Log:
one more assertion!
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp?rev=75083&r1=75082&r2=75083&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Wed Jul 8 19:49:29 2009
@@ -360,8 +360,10 @@
if (shouldPrintPLT(TM, Subtarget)) {
// Assemble call via PLT for externally visible symbols
if (!GV->hasHiddenVisibility() && !GV->hasProtectedVisibility() &&
- !GV->hasLocalLinkage())
+ !GV->hasLocalLinkage()) {
O << "@PLT";
+ assert(MO.getTargetFlags() == 0);
+ }
}
if (Subtarget->isTargetCygMing() && GV->isDeclaration())
// Save function name for later type emission
More information about the llvm-commits
mailing list