[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp

Misha Brukman brukman at cs.uiuc.edu
Sun Nov 14 13:03:41 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PowerPCAsmPrinter.cpp updated: 1.66 -> 1.67
---
Log message:

Handle GhostLinkage (should not ever reach the assembly printing stage!)


---
Diffs of the changes:  (+3 -0)

Index: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.66 llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.67
--- llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.66	Mon Nov  8 22:01:18 2004
+++ llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp	Sun Nov 14 15:03:30 2004
@@ -508,6 +508,9 @@
         case GlobalValue::InternalLinkage:
           SwitchSection(O, CurSection, ".data");
           break;
+        case GlobalValue::GhostLinkage:
+          std::cerr << "Error: unmaterialized (GhostLinkage) function in asm!";
+          abort();
         }
 
         emitAlignment(Align);






More information about the llvm-commits mailing list