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:
2ca956f
)
Hack no more.
author
Jim Laskey
<jlaskey@mac.com>
Fri, 24 Mar 2006 21:10:36 +0000
(21:10 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Fri, 24 Mar 2006 21:10:36 +0000
(21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27079
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/DwarfWriter.cpp
b/lib/CodeGen/DwarfWriter.cpp
index 5fcfdb56fc2841a83e3b51f13cece39f3ab6b3c0..ab38f3158a56790e8665e3ed4ac8563a502530bf 100644
(file)
--- a/
lib/CodeGen/DwarfWriter.cpp
+++ b/
lib/CodeGen/DwarfWriter.cpp
@@
-1552,10
+1552,8
@@
DIE *DwarfWriter::NewScopeVariable(DebugVariable *DV, CompileUnit *Unit) {
// Add computation for variable.
DIEBlock *Block = new DIEBlock();
if (Location.isRegister()) {
- // FIXME - This is a real hack.
Block->AddUInt(DW_FORM_data1, DW_OP_reg0 + Location.getRegister());
} else {
- // FIXME - This is a real hack.
Block->AddUInt(DW_FORM_data1, DW_OP_breg0 + Location.getRegister());
Block->AddUInt(DW_FORM_sdata, Location.getOffset());
}