[PATCH] DW_OP_const* is invalid as a location

David Blaikie dblaikie at gmail.com
Tue Dec 9 13:13:04 PST 2014


================
Comment at: test/DebugInfo/incorrect-variable-debugloc1.ll:22
@@ +21,3 @@
+
+; DWARF23: Location description: 10 0d
+; DWARF4: Location description: 10 0d 9f
----------------
You probably need a {{$}} at the end of this line, otherwise it'll pass even if we emit the DWARF4 form here (test this by removing the conditional in your fix and observing that this test doesn't fail where it should)

http://reviews.llvm.org/D6568






More information about the llvm-commits mailing list