[all-commits] [llvm/llvm-project] 3aeb74: [test][ELF] Verify debug line corruption messages ...

James Henderson via All-commits all-commits at lists.llvm.org
Thu Jan 2 09:17:26 PST 2020


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

  Changed paths:
    M lld/test/ELF/Inputs/undef-bad-debug.s
    M lld/test/ELF/undef.s

  Log Message:
  -----------
  [test][ELF] Verify debug line corruption messages are printed once

LLD warns if it encounters malformed debug data when parsing line
information for an undefined reference. We only want to warn once.

This patch adds additional checking to make sure the warnings are
printed only once, both for variables within the same program and
variables in later line programs.

Reviewed by: grimar, MaskRay

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




More information about the All-commits mailing list