From 351f83be64057380877615153fe5dc50308ab017 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Tue, 7 Aug 2012 11:46:57 +0000 Subject: Fix the representation of debug line table in DebugInfo LLVM library, and "instruction address -> file/line" lookup. Instead of plain collection of rows, debug line table for compilation unit is now treated as the number of row ranges, describing sequences (series of contiguous machine instructions). The sequences are not always listed in the order of increasing address, so previously used std::lower_bound() sometimes produced wrong results. Now the instruction address lookup consists of two stages: finding the correct sequence, and searching for address in range of rows for this sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161414 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/Inputs/dwarfdump-test4.elf-x86-64 | Bin 0 -> 7689 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 test/DebugInfo/Inputs/dwarfdump-test4.elf-x86-64 (limited to 'test/DebugInfo/Inputs') diff --git a/test/DebugInfo/Inputs/dwarfdump-test4.elf-x86-64 b/test/DebugInfo/Inputs/dwarfdump-test4.elf-x86-64 new file mode 100755 index 0000000000..884870859d Binary files /dev/null and b/test/DebugInfo/Inputs/dwarfdump-test4.elf-x86-64 differ -- cgit v1.2.3