[llvm-commits] CVS: llvm/include/llvm/Support/Mangler.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 10 10:47:09 PST 2005
Changes in directory llvm/include/llvm/Support:
Mangler.h updated: 1.14 -> 1.15
---
Log message:
minor interface changes.
---
Diffs of the changes: (+4 -3)
Mangler.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/Support/Mangler.h
diff -u llvm/include/llvm/Support/Mangler.h:1.14 llvm/include/llvm/Support/Mangler.h:1.15
--- llvm/include/llvm/Support/Mangler.h:1.14 Sat Sep 24 03:23:53 2005
+++ llvm/include/llvm/Support/Mangler.h Thu Nov 10 12:46:57 2005
@@ -19,16 +19,16 @@
#include <string>
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<const Value *> MangledGlobals;
+ std::set<const GlobalValue*> MangledGlobals;
Module &M;
const char *Prefix;
@@ -36,7 +36,7 @@
unsigned TypeCounter;
std::map<const Type*, unsigned> TypeMap;
- typedef std::map<const Value *, std::string> ValueMap;
+ typedef std::map<const Value*, std::string> ValueMap;
ValueMap Memo;
unsigned Count;
@@ -55,6 +55,7 @@
/// 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
More information about the llvm-commits
mailing list