mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add new mapping info pass, when EmitMappingInfo is on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d8793a3a5
commit
5821595693
@ -179,8 +179,10 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
|
||||
if (!DisablePeephole)
|
||||
PM.add(createPeepholeOptsPass(*this));
|
||||
|
||||
if (EmitMappingInfo)
|
||||
PM.add(getMappingInfoAsmPrinterPass(Out));
|
||||
if (EmitMappingInfo) {
|
||||
PM.add(createInternalGlobalMapperPass());
|
||||
PM.add(getMappingInfoAsmPrinterPass(Out));
|
||||
}
|
||||
|
||||
// Output assembly language to the .s file. Assembly emission is split into
|
||||
// two parts: Function output and Global value output. This is because
|
||||
|
Loading…
Reference in New Issue
Block a user