[PATCH] D44760: Make the debug info in some tests more realistic
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 21 16:12:43 PDT 2018
espindola created this revision.
espindola added reviewers: ruiu, dblaikie, grimar.
Herald added subscribers: JDevlieghere, arichardson, aprantl, emaste.
Currently lld just parser the .debug_line section assuming that there is only one compile unit. That assumption is false (PR36793).
I have patch that changes lld to iterate over the compile units and parse the portions of the .debug_line they point to (which fixes PR36793).
A problem is that we will then need a compiler unit pointing to .debug_line for lld to see it.
This patch updates existing tests to add a minimal compile unit so that they still work with PR36793 fixed.
https://reviews.llvm.org/D44760
Files:
test/ELF/Inputs/conflict-debug.s
test/ELF/Inputs/undef-debug.s
test/ELF/compressed-debug-conflict.s
test/ELF/undef-broken-debug.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44760.139388.patch
Type: text/x-patch
Size: 4496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180321/a225fb02/attachment.bin>
More information about the llvm-commits
mailing list