mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
now that mangler is in libtarget, it can use MCAsmInfo instead of clients
having to pass various fields from it in. Simplify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -323,8 +323,7 @@ void LTOCodeGenerator::applyScopeRestrictions()
|
||||
|
||||
// mark which symbols can not be internalized
|
||||
if ( !_mustPreserveSymbols.empty() ) {
|
||||
Mangler mangler(*mergedModule,
|
||||
_target->getMCAsmInfo()->getGlobalPrefix());
|
||||
Mangler mangler(*_target->getMCAsmInfo());
|
||||
std::vector<const char*> mustPreserveList;
|
||||
for (Module::iterator f = mergedModule->begin(),
|
||||
e = mergedModule->end(); f != e; ++f) {
|
||||
|
Reference in New Issue
Block a user