diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-22 17:14:41 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-22 17:14:41 +0000 |
commit | 78fad32d8341dde5ccfcbb7793316147ebddba85 (patch) | |
tree | 8649ee15844e5c0d7968b5eba43b026a27b78b47 /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp | |
parent | 236cdaf84c684a985fa501721bf99b93ce2614da (diff) | |
download | llvm-78fad32d8341dde5ccfcbb7793316147ebddba85.zip llvm-78fad32d8341dde5ccfcbb7793316147ebddba85.tar.gz llvm-78fad32d8341dde5ccfcbb7793316147ebddba85.tar.bz2 |
Make the debug info in some tests more realistic.
Currently lld just parses the .debug_line section assuming that there
is only one compile unit. That assumption is false (PR36793).
I have a 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.
It seems like bfd has the same restriction.
This patch updates existing tests to add a minimal compile unit so
that they still work with PR36793 fixed.
llvm-svn: 328215
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
0 files changed, 0 insertions, 0 deletions