[PATCH] D112151: [llvm-dwarfdump] Add a test for --summarize-types
Owen Reynolds via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 22 06:23:52 PDT 2021
gbreynoo updated this revision to Diff 381524.
gbreynoo added a comment.
Good catch dblaikie, I missed that test and it covers almost all I was testing here. This updated revision adds a check that I think was missing from the existing test.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112151/new/
https://reviews.llvm.org/D112151
Files:
llvm/test/DebugInfo/dwarfdump-type-units.test
Index: llvm/test/DebugInfo/dwarfdump-type-units.test
===================================================================
--- llvm/test/DebugInfo/dwarfdump-type-units.test
+++ llvm/test/DebugInfo/dwarfdump-type-units.test
@@ -25,6 +25,7 @@
LONG-NOT: NULL
LONG: 0x0000[[BAR_OFF]]: DW_TAG_structure_type
LONG-NEXT: DW_AT_name {{.*}}"bar"
+SHORT-NOT: DW_AT_name {{.*}}"bar"
LONG: 0x00000000: Type Unit: {{.*}} name =
SHORT: name =
@@ -34,6 +35,7 @@
LONG-NOT: NULL
LONG: 0x0000[[FOO_OFF]]: DW_TAG_structure_type
LONG-NEXT: DW_AT_name {{.*}}"foo"
+SHORT-NOT: DW_AT_name {{.*}}"foo"
TYPES-NOT: debug_info contents:
TYPES: debug_types contents:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112151.381524.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211022/0099c72b/attachment.bin>
More information about the llvm-commits
mailing list