aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-08-24 20:31:05 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-08-24 20:31:05 +0000
commit6dd452b514190a9cd96e54917b8ad92cc8a9d7b0 (patch)
tree0c2b4f2786603b8f7cdf445720116c036d4a7ebf /llvm/lib/Object/ELFObjectFile.cpp
parent10aa09f0080fd88483d6be7eaa642772f4e0da60 (diff)
downloadllvm-6dd452b514190a9cd96e54917b8ad92cc8a9d7b0.zip
llvm-6dd452b514190a9cd96e54917b8ad92cc8a9d7b0.tar.gz
llvm-6dd452b514190a9cd96e54917b8ad92cc8a9d7b0.tar.bz2
DebugInfo: Fix skipping CUs in DWARFv5 debug_names table
My previoust test case had skipped CUs from one TU out of a two-TU LTO scenario, which meant the CU index wasn't needed (as it was unambiguous which CU a table entry applied to) - expanding the test to use 3 TUs, skipping one (so long as it's not the last one) shows the indexes are miscomputed. Fix that with a little indirection for the index. llvm-svn: 340646
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions