summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorEkaterina Romanova <katya_romanova@playstation.sony.com>2014-12-11 06:22:35 +0000
committerEkaterina Romanova <katya_romanova@playstation.sony.com>2014-12-11 06:22:35 +0000
commit75fd12396774514e162c8be008f5dea6313b1956 (patch)
treeeedfd12587e619e00e5eb41dbdf82357d82a36aa /llvm/lib/CodeGen/AsmPrinter
parente74c28105d515ad98b49509ed5a3d21e2589b993 (diff)
downloadbcm5719-llvm-75fd12396774514e162c8be008f5dea6313b1956.tar.gz
bcm5719-llvm-75fd12396774514e162c8be008f5dea6313b1956.zip
Reverting commit 223981, because the test that I added (incorrect-variable-debugloc1.ll) failed for llvm-ppc64.
The test is failing for llvm-ppc64 because for this platform the location list is not being generated at all (most likely because of the bug in PPC code optimization or generation). I will file a bug agains PPC compiler, but meanwhile, until PPC bug is fixed, I will have to revert my change. llvm-svn: 224000
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 8897ad0ae6c..230ea465182 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1722,8 +1722,6 @@ void DwarfDebug::emitDebugLocValue(ByteStreamer &Streamer,
Streamer.EmitInt8(dwarf::DW_OP_constu, "DW_OP_constu");
Streamer.EmitULEB128(Value.getInt());
}
- if (getDwarfVersion() >= 4)
- Streamer.EmitInt8(dwarf::DW_OP_stack_value, "DW_OP_stack_value");
} else if (Value.isLocation()) {
MachineLocation Loc = Value.getLoc();
DIExpression Expr = Value.getExpression();
OpenPOWER on IntegriCloud