mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Move getSymbol to TargetLoweringObjectFile.
This allows constructing a Mangler with just a TargetMachine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -350,9 +350,7 @@ void LTOCodeGenerator::applyScopeRestrictions() {
|
||||
passes.add(createVerifierPass());
|
||||
|
||||
// mark which symbols can not be internalized
|
||||
MCContext MContext(TargetMach->getMCAsmInfo(), TargetMach->getRegisterInfo(),
|
||||
NULL);
|
||||
Mangler Mangler(MContext, TargetMach);
|
||||
Mangler Mangler(TargetMach);
|
||||
std::vector<const char*> MustPreserveList;
|
||||
std::vector<const char*> DSOList;
|
||||
SmallPtrSet<GlobalValue*, 8> AsmUsed;
|
||||
|
Reference in New Issue
Block a user