From a112e0f44721848363b42ddeb7c6354f934878e0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 10 Nov 2005 18:46:57 +0000 Subject: [PATCH] minor interface changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24276 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Mangler.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/llvm/Support/Mangler.h b/include/llvm/Support/Mangler.h index 3c2050324dd..61fe4d72da9 100644 --- a/include/llvm/Support/Mangler.h +++ b/include/llvm/Support/Mangler.h @@ -19,16 +19,16 @@ #include namespace llvm { -class Value; class Type; class Module; +class Value; class GlobalValue; class Mangler { /// This keeps track of which global values have had their names /// mangled in the current module. /// - std::set MangledGlobals; + std::set MangledGlobals; Module &M; const char *Prefix; @@ -36,7 +36,7 @@ class Mangler { unsigned TypeCounter; std::map TypeMap; - typedef std::map ValueMap; + typedef std::map ValueMap; ValueMap Memo; unsigned Count; @@ -55,6 +55,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 Value *V); /// makeNameProper - We don't want identifier names with ., space, or -- 2.34.1