summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-12-05 05:53:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-12-05 05:53:12 +0000
commitfac7a9e644f557e0cf75bab1faf7b762395ce1cb (patch)
tree29e89f5f12c82c44dc04b11a2f1880c11f8fce7c /include/llvm
parent087ab613f42890b2e84fb8a058f346ead2bfd595 (diff)
downloadllvm-fac7a9e644f557e0cf75bab1faf7b762395ce1cb.tar.gz
llvm-fac7a9e644f557e0cf75bab1faf7b762395ce1cb.tar.bz2
llvm-fac7a9e644f557e0cf75bab1faf7b762395ce1cb.tar.xz
Remove the isImplicitlyPrivate argument of getNameWithPrefix.
getSymbolWithGlobalValueBase use is to create a name of a new symbol based on the name of an existing GV. Assert that and then remove the last call to pass true to isImplicitlyPrivate. This gives the mangler API a 1:1 mapping from GV to names, which is what we need to drop the mangler dependency on the target (and use an extended datalayout instead). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/Mangler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Target/Mangler.h b/include/llvm/Target/Mangler.h
index fab41d2439..3a8f32646f 100644
--- a/include/llvm/Target/Mangler.h
+++ b/include/llvm/Target/Mangler.h
@@ -51,8 +51,7 @@ public:
/// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
/// and the specified global variable's name. If the global variable doesn't
/// have a name, this fills in a unique name for the global.
- void getNameWithPrefix(SmallVectorImpl<char> &OutName, const GlobalValue *GV,
- bool isImplicitlyPrivate);
+ void getNameWithPrefix(SmallVectorImpl<char> &OutName, const GlobalValue *GV);
/// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
/// and the specified name as the global variable name. GVName must not be