SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [LLDB] [PECOFF] Factorize mapping section names to types using (details)
  2. [LLDB] [PECOFF] Look for the truncated ".eh_fram" section name (details)
  3. [LLDB] Always interpret arm instructions as thumb on windows (details)
  4. [llvm-readelf] - Make GNU style dumping of invalid SHT_GNU_verdef be (details)
Commit 2e5bb6d8d944767aa777e70dda8e4ce2f600d2f2 by martin
[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
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
Commit 934c025e9bdd28db544dfd57783d0fb8907a92d3 by martin
[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
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was addedlldb/test/Shell/ObjectFile/PECOFF/section-types.yaml
Commit f5c54f40327b1680bf7e55d358b43a92395ae669 by martin
[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
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was addedlldb/test/Shell/ObjectFile/PECOFF/disassemble-thumb.yaml
Commit 7f362f04a7812111dec7eb11279a53566e09cdfb by grimar
[llvm-readelf] - Make GNU style dumping of invalid SHT_GNU_verdef be
consistent with LLVM style.
When we dump SHT_GNU_verdef section that has sh_link that references a
non-existent section, llvm-readobj reports a warning and continues dump,
but llvm-readelf fails with a error.
This patch fixes the issue and opens road for futher follow-ups for
improving the printGNUVersionSectionProlog().
Differential revision: https://reviews.llvm.org/D70776
The file was modifiedllvm/test/tools/llvm-readobj/elf-verdef-invalid.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp