Remove the isImplicitlyPrivate argument of getNameWithPrefix.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 5 Dec 2013 05:53:12 +0000 (05:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 5 Dec 2013 05:53:12 +0000 (05:53 +0000)
commitfac7a9e644f557e0cf75bab1faf7b762395ce1cb
tree29e89f5f12c82c44dc04b11a2f1880c11f8fce7c
parent087ab613f42890b2e84fb8a058f346ead2bfd595
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
include/llvm/Target/Mangler.h
lib/ExecutionEngine/MCJIT/MCJIT.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/LTO/LTOModule.cpp
lib/Target/Mangler.cpp
lib/Target/PowerPC/PPCMCInstLower.cpp
lib/Target/TargetLoweringObjectFile.cpp
lib/Target/X86/X86MCInstLower.cpp