[PATCH] D71759: [test][ELF] Verify debug line corruption messages are printed once

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 06:09:00 PST 2019


jhenderson created this revision.
jhenderson added reviewers: MaskRay, grimar, ruiu.
Herald added a subscriber: emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

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.

Related to D71702 <https://reviews.llvm.org/D71702> which will touch this file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71759

Files:
  lld/test/ELF/Inputs/undef-bad-debug.s
  lld/test/ELF/undef.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71759.234875.patch
Type: text/x-patch
Size: 4210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191220/1c1a1b21/attachment.bin>


More information about the llvm-commits mailing list