summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-11-04 09:34:06 +0000
committerBill Wendling <isanbard@gmail.com>2011-11-04 09:34:06 +0000
commit019392bd4a9a53f8df5919929b4fb4e17f8aace3 (patch)
treef81042619ad1023ea6df44b25559ccb9ae5889cf /llvm/tools
parenta2af67493c49d46fab43fa9d573198a57e8ffde5 (diff)
downloadbcm5719-llvm-019392bd4a9a53f8df5919929b4fb4e17f8aace3.tar.gz
bcm5719-llvm-019392bd4a9a53f8df5919929b4fb4e17f8aace3.zip
Move comment to the correct place.
llvm-svn: 143690
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/lto/LTOModule.cpp2
-rw-r--r--llvm/tools/lto/LTOModule.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/lto/LTOModule.cpp b/llvm/tools/lto/LTOModule.cpp
index 66dc0905951..8aea405983a 100644
--- a/llvm/tools/lto/LTOModule.cpp
+++ b/llvm/tools/lto/LTOModule.cpp
@@ -668,8 +668,6 @@ static bool isAliasToDeclaration(const GlobalAlias &V) {
}
bool LTOModule::ParseSymbols(std::string &errMsg) {
- // Use mangler to add GlobalPrefix to names to match linker names.
-
// add functions
for (Module::iterator f = _module->begin(); f != _module->end(); ++f) {
if (isDeclaration(*f))
diff --git a/llvm/tools/lto/LTOModule.h b/llvm/tools/lto/LTOModule.h
index c5f83ee3021..35a09351628 100644
--- a/llvm/tools/lto/LTOModule.h
+++ b/llvm/tools/lto/LTOModule.h
@@ -115,6 +115,7 @@ private:
llvm::StringMap<NameAndAttributes> _undefines;
std::vector<const char*> _asm_undefines;
llvm::MCContext _context;
+ // Use mangler to add GlobalPrefix to names to match linker names.
llvm::Mangler _mangler;
};
OpenPOWER on IntegriCloud