From ecd91377583b9f42a006eb78aab550c2265d4c9b Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 17 Sep 2007 22:39:32 +0000 Subject: 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 --- include/llvm/Support/Mangler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.1