[PATCH] D37971: [dwarfdump] Add verbose output for .debug-line section

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 02:26:20 PDT 2017


JDevlieghere marked 4 inline comments as done.
JDevlieghere added inline comments.


================
Comment at: test/DebugInfo/MIR/X86/empty-inline.mir:14-16
+# CHECK:                 25      0      1   0             0  is_stmt
+# CHECK:                 29     28      1   0             0  is_stmt prologue_end
+# CHECK:                 29     28      1   0             0  is_stmt end_sequence
----------------
dblaikie wrote:
> JDevlieghere wrote:
> > dblaikie wrote:
> > > Perhaps it's worth un-verbosifying test cases when they need to be touched manually like this anyway?
> > That's how I got started before switching to this approach. I wasn't confident enough about the content of the verbose output not being part of the test. I definitely don't want to reduce the test quality for this kind of change. If there are tests that stick out where it would obviously not matter, I'd be more than happy to change it! 
> Seems like the opposite, though - by removing the CHECK-NEXTs you've reduced the quality of the test by allowing other line entries to be present, etc, potentially.
> 
> So it's probably better here, for instance, to unverbosify the test to keep it closer to the original intent. (possibly similarly on other tests)
Fair enough, I agree that this is probably better. Thanks!


Repository:
  rL LLVM

https://reviews.llvm.org/D37971





More information about the llvm-commits mailing list