1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/DebugInfo/llvm-symbolizer-tu.test
David Blaikie 480a4675c3 llvm-symbolizer: Fix bug related to TUs interfering with symbolizing
With the merge of TUs and CUs into a single container, some code that
relied on the CU range having an ordered range of contiguous addresses
(for locating a CU at a given offset) broke. But the units from
debug_info (currently only CUs, but CUs and TUs in DWARFv5) are in a
contiguous sub-range of that container - searching only through that
subrange is still valid & so do that.

llvm-svn: 341889
2018-09-11 02:04:45 +00:00

9 lines
155 B
Plaintext

RUN: echo "%p/Inputs/llvm-symbolizer-tu.elf-x86-64 0x0" \
RUN: | llvm-symbolizer | FileCheck %s
Built from the following source:
...
CHECK: b.cpp:3:0