llvm-6502/lib
Alexey Samsonov 740a75968a [DWARF parser] Fix broken address ranges construction.
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210860 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-12 23:58:49 +00:00
..
Analysis Removing an "if (!this)" check from two print methods. The condition will 2014-06-09 22:53:16 +00:00
AsmParser Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
Bitcode Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
CodeGen [FastISel][X86] Add MachineMemOperand to load/store instructions. 2014-06-12 23:27:57 +00:00
DebugInfo [DWARF parser] Fix broken address ranges construction. 2014-06-12 23:58:49 +00:00
ExecutionEngine Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
IR Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
IRReader Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
LineEditor [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Linker Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
LTO Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
MC Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
Object Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
Option Options: Use erase_if to remove Args from the list. 2014-05-18 15:14:13 +00:00
ProfileData Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
Support Try to fix the windows build. 2014-06-12 21:53:57 +00:00
TableGen Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
Target Have ARMSelectionDAGInfo take a DataLayout as it's argument as the 2014-06-12 23:39:49 +00:00
Transforms Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
CMakeLists.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00