diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-10-17 17:17:24 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-10-17 17:17:24 +0000 |
commit | 99e41eed6d8b89b2ba4807625d13d08d85ea493d (patch) | |
tree | 73fc26191f3dbb07845ac878fbf8ec06c2aac2be /include/llvm/CodeGen | |
parent | c50ffcb7fcb7c1109fee2406e8f74d096f755f47 (diff) | |
download | llvm-99e41eed6d8b89b2ba4807625d13d08d85ea493d.tar.gz llvm-99e41eed6d8b89b2ba4807625d13d08d85ea493d.tar.bz2 llvm-99e41eed6d8b89b2ba4807625d13d08d85ea493d.tar.xz |
Clean up interface to getGlobalLinkName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 8f73ce7f6c..68ca2d0e32 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -103,8 +103,7 @@ namespace llvm { /// 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 |