diff options
| author | Bill Wendling <isanbard@gmail.com> | 2007-09-17 22:39:32 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2007-09-17 22:39:32 +0000 |
| commit | d00de0ece78776e8850119e6430b3c63da41fcb8 (patch) | |
| tree | bbe4bf7f1bb7a5ee0825d8196bdc0b2594d7baf7 /include/llvm/Support | |
| parent | db1f24699d78003f22346aa3214ca8fba242f91c (diff) | |
| download | external_llvm-d00de0ece78776e8850119e6430b3c63da41fcb8.zip external_llvm-d00de0ece78776e8850119e6430b3c63da41fcb8.tar.gz external_llvm-d00de0ece78776e8850119e6430b3c63da41fcb8.tar.bz2 | |
Add support for appending a suffix to the end of a mangled name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
| -rw-r--r-- | include/llvm/Support/Mangler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Mangler.h b/include/llvm/Support/Mangler.h index 1cbc13c..d52ff6a 100644 --- a/include/llvm/Support/Mangler.h +++ b/include/llvm/Support/Mangler.h @@ -94,7 +94,7 @@ public: /// getValueName - Returns the mangled name of V, an LLVM Value, /// in the current module. /// - std::string getValueName(const GlobalValue *V); + std::string getValueName(const GlobalValue *V, const char *Suffix = ""); std::string getValueName(const Value *V); /// makeNameProper - We don't want identifier names with ., space, or |
