[PATCH] D86911: [llvm-dwarfdump][test] Generate the DWARF sections from the DWARF mapping key.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 00:28:22 PDT 2020


Higuoxing updated this revision to Diff 289089.
Higuoxing added a comment.

Move debug-str.yaml into the llvm-dwarfdump/ folder.

Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86911

Files:
  llvm/test/tools/llvm-dwarfdump/debug-str.yaml


Index: llvm/test/tools/llvm-dwarfdump/debug-str.yaml
===================================================================
--- llvm/test/tools/llvm-dwarfdump/debug-str.yaml
+++ llvm/test/tools/llvm-dwarfdump/debug-str.yaml
@@ -16,7 +16,8 @@
   Data:    ELFDATA2LSB
   Type:    ET_REL
   Machine: EM_X86_64
-Sections:
-  - Name: .debug_str
-    Type: SHT_PROGBITS
-    Content: '736f6d6520737472696e6700666f6f0000' ## "some string\0foo\0\0"
+DWARF:
+  debug_str:
+    - "some string"
+    - "foo"
+    - ""


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86911.289089.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/539b0d15/attachment.bin>


More information about the llvm-commits mailing list