aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 124f4ea55b..a42ba461c1 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/lib/CodeGen/DwarfWriter.cpp
@@ -3847,11 +3847,12 @@ void DIE::print(std::ostream &O, unsigned IncIndent) {
IndentCount += 2;
for (unsigned i = 0, N = Data.size(); i < N; ++i) {
O << Indent;
- if (!isBlock) {
+
+ if (!isBlock)
O << AttributeString(Data[i].getAttribute());
- } else {
+ else
O << "Blk[" << i << "]";
- }
+
O << " "
<< FormEncodingString(Data[i].getForm())
<< " ";