[PATCH] D71753: [test][llvm-dwarfdump] Add missing checks for table dumping

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 03:18:37 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG91cbcbd9e501: [test][llvm-dwarfdump] Add missing checks for table dumping (authored by jhenderson).

Changed prior to commit:
  https://reviews.llvm.org/D71753?vs=234866&id=236011#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71753/new/

https://reviews.llvm.org/D71753

Files:
  llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test


Index: llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
===================================================================
--- llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
+++ llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
@@ -98,8 +98,22 @@
 ## Case 8: Very short prologue length for V5 (ends during parameters).
 # NONFATAL: debug_line[0x00000183]
 # NONFATAL-NEXT: Line table prologue
+# NONFATAL-NOT:  Address
 
-## TODO: Add checks here for remaining tables.
+## Case 9: V5 prologue ends during file table.
+# NONFATAL: debug_line[0x000001be]
+# NONFATAL-NEXT: Line table prologue
+# NONFATAL-NOT:  Address
+
+## Case 10: V5 prologue ends during directory table.
+# NONFATAL: debug_line[0x000001f9]
+# NONFATAL-NEXT: Line table prologue
+# NONFATAL-NOT:  Address
+
+## Case 11: V5 invalid MD5 hash form.
+# NONFATAL: debug_line[0x00000234]
+# NONFATAL-NEXT: Line table prologue
+# NONFATAL-NOT:  Address
 
 # NONFATAL: debug_line[0x00000271]
 # NONFATAL-NOT: debug_line[{{.*}}]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71753.236011.patch
Type: text/x-patch
Size: 1043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200103/31b260c8/attachment.bin>


More information about the llvm-commits mailing list