forked from OSchip/llvm-project
Add new mapping info pass, when EmitMappingInfo is on.
llvm-svn: 13981
This commit is contained in:
parent
25c6fa0e83
commit
0a48c0d913
|
@ -179,8 +179,10 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
|
||||||
if (!DisablePeephole)
|
if (!DisablePeephole)
|
||||||
PM.add(createPeepholeOptsPass(*this));
|
PM.add(createPeepholeOptsPass(*this));
|
||||||
|
|
||||||
if (EmitMappingInfo)
|
if (EmitMappingInfo) {
|
||||||
PM.add(getMappingInfoAsmPrinterPass(Out));
|
PM.add(createInternalGlobalMapperPass());
|
||||||
|
PM.add(getMappingInfoAsmPrinterPass(Out));
|
||||||
|
}
|
||||||
|
|
||||||
// Output assembly language to the .s file. Assembly emission is split into
|
// Output assembly language to the .s file. Assembly emission is split into
|
||||||
// two parts: Function output and Global value output. This is because
|
// two parts: Function output and Global value output. This is because
|
||||||
|
|
Loading…
Reference in New Issue