[all-commits] [llvm/llvm-project] 5224fe: [test][llvm-dwarfdump] Add missing testing for som...

James Henderson via All-commits all-commits at lists.llvm.org
Wed Dec 11 05:43:09 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5224feb7caeec9c7dcf511004856f9a0b770b532
      https://github.com/llvm/llvm-project/commit/5224feb7caeec9c7dcf511004856f9a0b770b532
  Author: James Henderson <jh7370 at my.bristol.ac.uk>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

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

  Log Message:
  -----------
  [test][llvm-dwarfdump] Add missing testing for some --debug-* options

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.

Reviewed by: JDevlieghere

Differential Revision: https://reviews.llvm.org/D71276




More information about the All-commits mailing list