OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c21de
)
Add comment in output stream.
author
Devang Patel
<dpatel@apple.com>
Thu, 21 Apr 2011 17:50:24 +0000
(17:50 +0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 21 Apr 2011 17:50:24 +0000
(17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129921
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index
d7d1684
..
3e676de
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-2715,7
+2715,10
@@
void DwarfDebug::emitDebugLoc() {
} else {
Asm->OutStreamer.AddComment("Loc expr size");
Asm->EmitInt16(1 + MCAsmInfo::getULEB128Size(Reg));
+ Asm->OutStreamer.AddComment(
+ dwarf::OperationEncodingString(dwarf::DW_OP_regx));
Asm->EmitInt8(dwarf::DW_OP_regx);
+ Asm->OutStreamer.AddComment(Twine(Reg));
Asm->EmitULEB128(Reg);
}
}