[all-commits] [llvm/llvm-project] 2e5bb6: [LLDB] [PECOFF] Factorize mapping section names to...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Thu Nov 28 01:27:22 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2e5bb6d8d944767aa777e70dda8e4ce2f600d2f2
https://github.com/llvm/llvm-project/commit/2e5bb6d8d944767aa777e70dda8e4ce2f600d2f2
Author: Martin Storsjö <martin at martin.st>
Date: 2019-11-28 (Thu, 28 Nov 2019)
Changed paths:
M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
Log Message:
-----------
[LLDB] [PECOFF] Factorize mapping section names to types using StringSwitch. NFCI.
Keep the existing special cases based on combinations of section name,
flags and sizes/offsets.
Differential Revision: https://reviews.llvm.org/D70778
Commit: 934c025e9bdd28db544dfd57783d0fb8907a92d3
https://github.com/llvm/llvm-project/commit/934c025e9bdd28db544dfd57783d0fb8907a92d3
Author: Martin Storsjö <martin at martin.st>
Date: 2019-11-28 (Thu, 28 Nov 2019)
Changed paths:
M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
A lldb/test/Shell/ObjectFile/PECOFF/section-types.yaml
Log Message:
-----------
[LLDB] [PECOFF] Look for the truncated ".eh_fram" section name
COFF section names can either be stored truncated to 8 chars, in the
section header, or as a longer section name, stored separately in the
string table.
libunwind locates the .eh_frame section by runtime introspection,
which only works for section names stored in the section header (as
the string table isn't mapped at runtime). To support this behaviour,
lld always truncates the section names for sections that will be
mapped, like .eh_frame.
Differential Revision: https://reviews.llvm.org/D70745
Commit: f5c54f40327b1680bf7e55d358b43a92395ae669
https://github.com/llvm/llvm-project/commit/f5c54f40327b1680bf7e55d358b43a92395ae669
Author: Martin Storsjö <martin at martin.st>
Date: 2019-11-28 (Thu, 28 Nov 2019)
Changed paths:
M lldb/source/Utility/ArchSpec.cpp
A lldb/test/Shell/ObjectFile/PECOFF/disassemble-thumb.yaml
Log Message:
-----------
[LLDB] Always interpret arm instructions as thumb on windows
Windows on ARM always uses thumb mode, and doesn't have most of the
mechanisms that are used in e.g. ELF for distinguishing between arm
and thumb.
Differential Revision: https://reviews.llvm.org/D70796
Compare: https://github.com/llvm/llvm-project/compare/b44e91a47252...f5c54f40327b
More information about the All-commits
mailing list