OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dfdad9
)
remove use of getMangledName.
author
Chris Lattner
<sabre@nondot.org>
Sat, 16 Jan 2010 20:56:05 +0000
(20:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 16 Jan 2010 20:56:05 +0000
(20:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93655
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/lto/LTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/tools/lto/LTOCodeGenerator.cpp
b/tools/lto/LTOCodeGenerator.cpp
index
1ea419a
..
5fbdf92
100644
(file)
--- a/
tools/lto/LTOCodeGenerator.cpp
+++ b/
tools/lto/LTOCodeGenerator.cpp
@@
-335,7
+335,7
@@
void LTOCodeGenerator::applyScopeRestrictions()
for (Module::global_iterator v = mergedModule->global_begin(),
e = mergedModule->global_end(); v != e; ++v) {
if ( !v->isDeclaration()
- && _mustPreserveSymbols.count(mangler.get
MangledName
(v)) )
+ && _mustPreserveSymbols.count(mangler.get
NameWithPrefix
(v)) )
mustPreserveList.push_back(::strdup(v->getNameStr().c_str()));
}
passes.add(createInternalizePass(mustPreserveList));