diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-05 05:53:12 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-05 05:53:12 +0000 |
commit | 117b20c4922c35704ffd139eec978328e0b32ad2 (patch) | |
tree | a2c2e36a6e01b978143eb4c030ea39fecc665c75 /llvm/lib/ExecutionEngine/MCJIT | |
parent | f907b891da1641034f0603b0c6bc00b7aa4d1f4a (diff) | |
download | bcm5719-llvm-117b20c4922c35704ffd139eec978328e0b32ad2.tar.gz bcm5719-llvm-117b20c4922c35704ffd139eec978328e0b32ad2.zip |
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).
llvm-svn: 196472
Diffstat (limited to 'llvm/lib/ExecutionEngine/MCJIT')
-rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp index 5841d918de4..8d9c33f49a3 100644 --- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp @@ -325,7 +325,7 @@ void *MCJIT::getPointerToFunction(Function *F) { // load address of the symbol, not the local address. Mangler Mang(TM); SmallString<128> Name; - Mang.getNameWithPrefix(Name, F, false); + Mang.getNameWithPrefix(Name, F); return (void*)Dyld.getSymbolLoadAddress(Name); } |