forked from OSchip/llvm-project
0670cfaf01
Previous algorithm for constructing [Address ranges]->[Compile Units] mapping was wrong. It somewhat relied on the assumption that address ranges for different compile units may not overlap. It is not so. For example, two compile units may contain the definition of the same linkonce_odr function. These definitions will be merged at link-time, resulting in equivalent .debug_ranges entries for both these units Instead of sorting and merging original address ranges (from .debug_ranges and .debug_aranges), implement a different approach: save endpoints of all ranges, and then use a sweep-line approach to construct the desired mapping. If we find that certain address maps to several compilation units, we just pick any of them. llvm-svn: 210860 |
||
---|---|---|
.. | ||
arange-overlap.cc | ||
arange-overlap.elf-x86_64 | ||
arm-relocs.elf-arm | ||
dwarfdump-inl-test.cc | ||
dwarfdump-inl-test.elf-x86-64 | ||
dwarfdump-inl-test.h | ||
dwarfdump-inl-test.high_pc.elf-x86-64 | ||
dwarfdump-line-dwo.cc | ||
dwarfdump-line-dwo.elf-x86-64 | ||
dwarfdump-pubnames.cc | ||
dwarfdump-pubnames.elf-x86-64 | ||
dwarfdump-test-32bit.elf.c | ||
dwarfdump-test-32bit.elf.o | ||
dwarfdump-test-loc-list-32bit.elf.cpp | ||
dwarfdump-test-loc-list-32bit.elf.o | ||
dwarfdump-test-zlib.cc | ||
dwarfdump-test-zlib.elf-x86-64 | ||
dwarfdump-test.cc | ||
dwarfdump-test.elf-x86-64 | ||
dwarfdump-test.elf-x86-64.debuglink | ||
dwarfdump-test2-helper.cc | ||
dwarfdump-test2-main.cc | ||
dwarfdump-test2.elf-x86-64 | ||
dwarfdump-test3-decl.h | ||
dwarfdump-test3-decl2.h | ||
dwarfdump-test3.cc | ||
dwarfdump-test3.elf-x86-64 space | ||
dwarfdump-test4-decl.h | ||
dwarfdump-test4-part1.cc | ||
dwarfdump-test4-part2.cc | ||
dwarfdump-test4.elf-x86-64 | ||
dwarfdump-type-units.cc | ||
dwarfdump-type-units.elf-x86-64 | ||
fission-ranges.cc | ||
fission-ranges.elf-x86_64 | ||
llvm-symbolizer-dwo-test | ||
llvm-symbolizer-dwo-test.cc | ||
llvm-symbolizer-test.c | ||
llvm-symbolizer-test.elf-x86-64 | ||
macho-universal | ||
macho-universal.cc | ||
shared-object-stripped.elf-i386 | ||
test-inline.o | ||
test-parameters.o |