[all-commits] [llvm/llvm-project] 91cbcb: [test][llvm-dwarfdump] Add missing checks for tabl...

James Henderson via All-commits all-commits at lists.llvm.org
Fri Jan 3 03:18:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91cbcbd9e501a37ce08f5a4d4060a90248c700d6
      https://github.com/llvm/llvm-project/commit/91cbcbd9e501a37ce08f5a4d4060a90248c700d6
  Author: James Henderson <jh7370 at my.bristol.ac.uk>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test

  Log Message:
  -----------
  [test][llvm-dwarfdump] Add missing checks for table dumping

Some of the tables in debug_line_malformed.s were not being checked in
the NONFATAL checks in debug_line_invalid.test (only the warnings coming
from them were being checked). This made the test harder to follow.
Additionally, a later change will change the way the errors are handled
such that more of the line table will be printed. That will require
checks for these tables (or something equivalent) so that the difference
in behaviour can be observed. This patch adds checks for the three
tables that were missing checks.

Reviewed By: MaskRay

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




More information about the All-commits mailing list