diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-22 21:33:09 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-22 21:33:09 +0000 |
commit | e24a8e4421ca8db64fb11281753dddbb8d098f49 (patch) | |
tree | 1a52e36acfe1992a11e24ead88e23bcfdc74a439 /lib/VMCore | |
parent | 5fa5d4f1b10cc7b742a72b431186dec9ff48b1db (diff) | |
download | external_llvm-e24a8e4421ca8db64fb11281753dddbb8d098f49.zip external_llvm-e24a8e4421ca8db64fb11281753dddbb8d098f49.tar.gz external_llvm-e24a8e4421ca8db64fb11281753dddbb8d098f49.tar.bz2 |
Switch some clients to Value::getName(), and other getName() user
simplification.
- NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Mangler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp index 5c4672b..44cf778 100644 --- a/lib/VMCore/Mangler.cpp +++ b/lib/VMCore/Mangler.cpp @@ -146,7 +146,7 @@ std::string Mangler::getMangledName(const GlobalValue *GV, const char *Suffix, GV->hasLinkerPrivateLinkage() ? Mangler::LinkerPrivate : Mangler::Default; if (GV->hasName()) - return makeNameProper(GV->getName() + Suffix, PrefixTy); + return makeNameProper(GV->getNameStr() + Suffix, PrefixTy); // Get the ID for the global, assigning a new one if we haven't got one // already. |