projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8793a
)
Add new mapping info pass, when EmitMappingInfo is on.
author
Brian Gaeke
<gaeke@uiuc.edu>
Thu, 3 Jun 2004 05:03:01 +0000
(
05:03
+0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Thu, 3 Jun 2004 05:03:01 +0000
(
05:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13981
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index c088317cbdad7fc4542d5d54805336c52cef3859..4c92105bfe54fce52744c00e1819e924f6316036 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/
lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@
-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