[PATCH] D71276: [test][llvm-dwarfdump] Add missing testing for some --debug-* options

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 07:51:57 PST 2019


jhenderson created this revision.
jhenderson added reviewers: aprantl, probinson, JDevlieghere, ikudrin, dblaikie.
Herald added a project: LLVM.

A number of the --debug-* options in llvm-dwarfdump are not particularly well tested. In some cases, the option is only tested as part of testing another feature, or a specific part of the section that the options dump. This change adds four new tests to address some of these holes. It is not aiming to address every hole however.

I kept the --debug-line switch test separate to X86/brief.s because the latter only considers the parts of the line table that are affected by verbose printing, thus missing out things like the header and different values for things like the Line, Column etc registers.

Depends on D71274 <https://reviews.llvm.org/D71274>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71276

Files:
  llvm/test/tools/llvm-dwarfdump/X86/debug-abbrev.s
  llvm/test/tools/llvm-dwarfdump/X86/debug-line.s
  llvm/test/tools/llvm-dwarfdump/debug-frame-dumps-eh-frame-and-debug-frame.yaml
  llvm/test/tools/llvm-dwarfdump/debug-str.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71276.233104.patch
Type: text/x-patch
Size: 12286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191210/32336e3e/attachment.bin>


More information about the llvm-commits mailing list