llvm-project/lldb/lit
Pavel Labath edb0127629 ObjectFileELF: Add support for arbitrarily named code sections
ObjectFileELF assumes that code section has ".text" name. There is an
exception for kalimba toolchain that can use arbitrary names, but other
toolchains also could use arbitrary names for code sections. For
example, corert uses separate section for compiled managed code. As lldb
doesn't recognize such section it leads to problem with breakpoints on
arm, because debugger cannot determine instruction set (arm/thumb) and
uses incorrect breakpoint opcode that breaks program execution.

This change allows debugger to correctly handle such code sections. We
assume that section is a code section if it has SHF_EXECINSTR flag set
and has SHT_PROGBITS type.

Patch by Konstantin Baladurin <k.baladurin@partner.samsung.com>.
Differential Revision: https://reviews.llvm.org/D44998

llvm-svn: 331173
2018-04-30 13:23:47 +00:00
..
Breakpoint Re-add change for https://reviews.llvm.org/D42582 with added directories. 2018-03-12 21:17:04 +00:00
Expr Fix compilation error caused by tgmath.h. 2018-04-09 17:32:56 +00:00
Modules ObjectFileELF: Add support for arbitrarily named code sections 2018-04-30 13:23:47 +00:00
Suite [lit, lldbsuite] Update the lldbsuite to correctly run tests on windows and windows server 2018-04-24 17:08:05 +00:00
SymbolFile/PDB [SymbolFilePDB] Add missing Char16 and Char32 types in a few places 2018-03-07 05:43:05 +00:00
Unit Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
CMakeLists.txt [CMake] Add the missing `dsymutil` dependency when running tests. 2018-04-23 17:06:55 +00:00
lit-lldb-init Introduce a setting to disable Spotlight while running the test suite 2018-03-12 20:52:36 +00:00
lit.cfg Re-add change for https://reviews.llvm.org/D42582 with added directories. 2018-03-12 21:17:04 +00:00
lit.site.cfg.in [lit] Update how clang and other binaries are found in per-configuration directories 2018-02-21 00:05:51 +00:00