llvm-capstone/lldb/test
Pavel Labath ffbff6c511 [lldb/DWARF] Ignore debug info pointing to the low addresses
specifically, ignore addresses that point before the first code section.

This resurrects D87172 with several notable changes:
- it fixes a bug where the early exits in InitializeObject left
  m_first_code_address "initialized" to LLDB_INVALID_ADDRESS (0xfff..f),
  which caused _everything_ to be ignored.
- it extends the line table fix to function parsing as well, where it
  replaces a similar check which was checking the executable permissions
  of the section. This was insufficient because some
  position-independent elf executables can have an executable segment
  mapped at file address zero. (What makes this fix different is that it
  checks for the executable-ness of the sections contained within that
  segment, and those will not be at address zero.)
- It uses a different test case, with an elf file with near-zero
  addresses, and checks for both line table and function parsing.

Differential Revision: https://reviews.llvm.org/D112058
2021-10-20 11:19:30 +02:00
..
API [lldb/test] Update test/API/functionalities/load_lazy to macOS 12 2021-10-19 13:25:14 -07:00
Shell [lldb/DWARF] Ignore debug info pointing to the low addresses 2021-10-20 11:19:30 +02:00
Unit [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
CMakeLists.txt [lldb] Fix missing dependency on libc++ from LLDB test suite on non-Darwin platforms 2021-10-18 15:59:34 +02:00
lit.cfg.py [test] Cleanup top-level lit.cfg.py 2019-10-10 19:51:47 +00:00
lit.site.cfg.py.in [lldb] config.test_exec_root is set by lit.cfg.py 2021-03-22 14:36:43 -07:00