[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

Jim Laskey jlaskey at apple.com
Tue Oct 17 10:17:41 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.53 -> 1.54
---
Log message:

Clean up interface to getGlobalLinkName.

---
Diffs of the changes:  (+1 -2)

 AsmPrinter.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.53 llvm/include/llvm/CodeGen/AsmPrinter.h:1.54
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.53	Tue Oct 17 08:41:07 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Tue Oct 17 12:17:24 2006
@@ -103,8 +103,7 @@
     /// getGlobalLinkName - Returns the asm/link name of of the specified
     /// global variable.  Should be overridden by each target asm printer to
     /// generate the appropriate value.
-    virtual void getGlobalLinkName(const GlobalVariable *GV,
-                                   std::string &LinkName);
+    virtual const std::string getGlobalLinkName(const GlobalVariable *GV) const;
 
   protected:
     /// doInitialization - Set up the AsmPrinter when we are working on a new






More information about the llvm-commits mailing list