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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 16:47:21 PDT 2017


probinson added inline comments.


================
Comment at: test/DebugInfo/MIR/X86/empty-inline.mir:7
 # CHECK: DW_TAG_subprogram
-# CHECK:	DW_AT_low_pc [DW_FORM_addr]	(0x0000000000000000)
+# CHECK:	DW_AT_low_pc {{.*}}(0x0000000000000000)
 # CHECK-NOT: DW_TAG
----------------
JDevlieghere wrote:
> dblaikie wrote:
> > I don't think the {{.*}} is needed? Maybe - not sure how whitespace-ignorant FileCheck is by default.
> AFAIK only leading and trailing whitespace is ignored. An additional benefit is that most of the lines won't have to be changed if we ever want to make the test verbose again. 
I am pretty sure that FileCheck treats all whitespace as variable length, unless you tell it to be strict.


https://reviews.llvm.org/D37971





More information about the llvm-commits mailing list