[llvm-commits] [llvm] r143690 - in /llvm/trunk/tools/lto: LTOModule.cpp LTOModule.h
Bill Wendling
isanbard at gmail.com
Fri Nov 4 02:34:06 PDT 2011
Author: void
Date: Fri Nov 4 04:34:06 2011
New Revision: 143690
URL: http://llvm.org/viewvc/llvm-project?rev=143690&view=rev
Log:
Move comment to the correct place.
Modified:
llvm/trunk/tools/lto/LTOModule.cpp
llvm/trunk/tools/lto/LTOModule.h
Modified: llvm/trunk/tools/lto/LTOModule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOModule.cpp?rev=143690&r1=143689&r2=143690&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOModule.cpp (original)
+++ llvm/trunk/tools/lto/LTOModule.cpp Fri Nov 4 04:34:06 2011
@@ -668,8 +668,6 @@
}
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))
Modified: llvm/trunk/tools/lto/LTOModule.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOModule.h?rev=143690&r1=143689&r2=143690&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOModule.h (original)
+++ llvm/trunk/tools/lto/LTOModule.h Fri Nov 4 04:34:06 2011
@@ -115,6 +115,7 @@
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;
};
More information about the llvm-commits
mailing list