llvm-project/lldb
Greg Clayton 79f22b1f99 Fix .debug_aranges parsing.
Code was added that used llvm error checking to parse .debug_aranges, but the error check after parsing the DWARFDebugArangesSet was reversed and was causing no error to be returned with no valid address ranges being actually used. This meant we always would fall back onto creating out own address ranges by parsing the compile unit's ranges. This was causing problems for cases where the DW_TAG_compile_unit had a single address range by using a DW_AT_low_pc and DW_AT_high_pc attribute pair (not using a DW_AT_ranges attribute), but the .debug_aranges had correct split ranges. In this case we would end up using the single range for the compile unit that encompassed all of the ranges from the .debug_aranges section and would cause address resolving issues in LLDB where address lookups would fail for certain addresses.

Differential Revision: https://reviews.llvm.org/D87626
2020-09-15 11:50:57 -07:00
..
bindings [lldb/API] Add Breakpoint::SerializeToStructuredData to SBAPI 2020-09-11 20:09:55 +02:00
cmake [lldb] Remove redundant call to FindBacktrace (NFC) 2020-08-20 22:41:49 -07:00
docs [lldb/Docs] Correct LLDB_ENABLE_TESTS to LLDB_INCLUDE_TESTS 2020-09-09 11:07:57 -07:00
examples Harmonize Python shebang 2020-07-16 21:53:45 +02:00
include/lldb [lldb/API] Add Breakpoint::SerializeToStructuredData to SBAPI 2020-09-11 20:09:55 +02:00
packages/Python Retry of D84974 2020-09-14 10:44:13 -07:00
resources
scripts Harmonize Python shebang 2020-07-16 21:53:45 +02:00
source Fix .debug_aranges parsing. 2020-09-15 11:50:57 -07:00
test [lldb] Add -l/--language option to script command 2020-09-15 09:40:17 -07:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools Fix 132e57bc59 2020-09-14 10:54:17 -07:00
unittests Fix .debug_aranges parsing. 2020-09-15 11:50:57 -07:00
utils [lldb, tests] Correctly configure the yaml2obj paths 2020-09-10 10:10:28 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt Create ${swig_target}-scripts target instead of lldb-python-scripts 2020-08-22 19:36:37 -07:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py