SuccessChanges

Summary

  1. [llvm-readelf/llvm-readobj] - Improve dumping of broken versioning (details)
  2. Revert "[SLP] Vectorize jumbled stores." (details)
  3. [LLDB] [PECOFF] Don't crash in ReadImageDataByRVA for addresses out of (details)
  4. [LLDB] [Windows] Remove a TODO which probably won't be implemented (details)
  5. [LLDB] [PECOFF] Fix error handling for executables that (details)
  6. [LLDB] [Windows] Fix Windows-specific race condition in LLDB for session (details)
  7. [yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section. (details)
Commit 9d4bbe88915a3a878d8501369f2ce8093a194921 by grimar
[llvm-readelf/llvm-readobj] - Improve dumping of broken versioning
sections.
This updates the elf-invalid-versioning.test test case: makes a cleanup,
adds llvm-readobj calls and fixes 2 crash/assert issues I've found (test
cases are provided).
Differential revision: https://reviews.llvm.org/D68705
The file was modifiedllvm/test/tools/llvm-readobj/elf-invalid-versioning.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit e65ddcafee547eddb72aa63b1d49f76e46acdd9a by hokein.wu
Revert "[SLP] Vectorize jumbled stores."
This reverts commit 21d498c9c0f32dcab5bc89ac593aa813b533b43a.
This commit causes some crashes on some targets.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/store-jumbled.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/stores_vectorize.ll
Commit 7e1a3076419d4d453d71143a1e81409ea1db177c by martin
[LLDB] [PECOFF] Don't crash in ReadImageDataByRVA for addresses out of
range
This can happen e.g. when unwinding doesn't work perfectly.
Differential Revision: https://reviews.llvm.org/D69502
The file was addedlldb/test/Shell/Minidump/Windows/Inputs/broken-unwind.dmp.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was addedlldb/test/Shell/Minidump/Windows/broken-unwind.test
The file was addedlldb/test/Shell/Minidump/Windows/Inputs/broken-unwind.exe.yaml
Commit a42967f63c96b30dd6873ceb7b2932eb7cf2cd05 by martin
[LLDB] [Windows] Remove a TODO which probably won't be implemented
Contrary to WoW64 on x86_64, there's no struct similar to WOW64_CONTEXT
defined, for storing and handling the CPU state of an ARM32 process from
an ARM64 process. Thus, making an ARM64 lldb-server able to control
ARM32 processes seems infeasible at the moment.
(The normal CONTEXT struct has a different layout on each architecture.
In addition to this, a WOW64_CONTEXT struct always is defined, that can
store the CPU state of an x86_32 process, to allow handling it from an
x86_64 process. But there's no similar universally available struct for
ARM32.)
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
Commit 3db1d138b1172b5855f35ab74dbf3bf327f517d2 by martin
[LLDB] [PECOFF] Fix error handling for executables that
object::createBinary errors out on
llvm::object::createBinary returns an Expected<>, which requires not
only checking the object for success, but also requires consuming the
Error, if one was set.
Use LLDB_LOG_ERROR for this case, and change an existing similar log
statement to use it as well, to make sure the Error is consumed even if
the log channel is disabled.
Differential Revision: https://reviews.llvm.org/D69646
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was addedlldb/test/Shell/ObjectFile/PECOFF/invalid-export-table.yaml
Commit 403cd574b6d9fbdae1b39fe9d2576b02c7139486 by martin
[LLDB] [Windows] Fix Windows-specific race condition in LLDB for session
lifetime
This can e.g. happen if the debugged executable exits before the initial
stop, e.g. if it fails to load dependent DLLs.
Add a virtual destructor to ProcessDebugger and let it clean up the
session, and make ProcessWindows::OnExitProcess call
ProcessDebugger::OnExitProcess for shared parts.
Fix suggestion by Adrian McCarthy.
Differential Revision: https://reviews.llvm.org/D69503
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessDebugger.h
The file was addedlldb/test/Shell/Process/Windows/launch_failure.yaml
Commit a7aee6c47a1b12dd7d579b4f98d7049eb1e987ce by grimar
[yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section.
This adds parsing and dumping support for GNU hash sections. They are
described nicely here:
https://blogs.oracle.com/solaris/gnu-hash-elf-sections-v2
Differential revision: https://reviews.llvm.org/D69399
The file was addedllvm/test/tools/yaml2obj/elf-gnu-hash-section.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-section-types.test
The file was addedllvm/test/tools/obj2yaml/elf-gnu-hash-section.yaml