1. [lldb] Correct wording of EXP_MSG (details)
  2. [SystemZ/ZOS] Additions to the build system. (details)
  3. [llvm-readelf][test] - Refine the sections-ext.test (details)
  4. [llvm-readobj] - Don`t crash when --section-symbols is requested for an object w/o .symtab. (details)
Commit 9ad5d37fd917a5b8b3ffe5c12145c85021ee2578 by david.spickett
[lldb] Correct wording of EXP_MSG

EXP_MSG generates a message to show on assert
failure. Currently it looks like:
AssertionError: False is not True : '<cmd>'
returns expected result, got '<actual output>'

Which seems to say that the test failed but
also got the expected result.

It should say:
AssertionError: False is not True : '<cmd>'
returned unexpected result, got '<actual output>'

Reviewed By: teemperor, #lldb

Differential Revision:
The file was modifiedlldb/packages/Python/lldbsuite/test/ (diff)
Commit 00d5f1ecccc6d8ece9ac6dd19e9ad807c8a60097 by kai
[SystemZ/ZOS] Additions to the build system.

This change extend the CMake files with the necessary additions
to build LLVM for z/OS.

Reviewed By: hubert.reinterpretcast

Differential Revision:
The file was modifiedllvm/CMakeLists.txt (diff)
The file was modifiedllvm/cmake/modules/GetHostTriple.cmake (diff)
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake (diff)
The file was modifiedllvm/cmake/modules/AddLLVM.cmake (diff)
Commit f65ab626e549f8ddd4cdf10ac12371de3af73aa7 by grimar
[llvm-readelf][test] - Refine the sections-ext.test

The `sections-ext.test` is a test for ELF that is used
to test `--st`, `--sr` and `--sd` extension options for `-S`.

There are 2 problems with it:
1) It is broken, because for CHECK lines it contains there is
no corresponding `FileCheck` call.

2) It uses the precompiled object: `trivial.obj.elf-i386`.
This is the last ELF test where `trivial.obj.elf-i386` is used so we can get
rid of the binary and use an YAML description.

Also, there is a `Inputs/trivial.ll` file that describes how `trivial*` objects
in `Inputs` folders are created. I've removed it from `ELF`, because it is not
actual anymore (we have no more input binaries created with the use of trivial.ll there)
and copied the refined versions of it to `COFF`, `MachO` and `wasm` Input folders.

Differential revision:
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/trivial.obj.elf-i386
The file was modifiedllvm/test/tools/llvm-readobj/ELF/sections-ext.test (diff)
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/trivial.ll
The file was addedllvm/test/tools/llvm-readobj/COFF/Inputs/trivial.ll
The file was addedllvm/test/tools/llvm-readobj/MachO/Inputs/trivial.ll
The file was addedllvm/test/tools/llvm-readobj/wasm/Inputs/trivial.ll
Commit 7749e2de20d82a6bb8b8beaa74b2a8dbd8232067 by grimar
[llvm-readobj] - Don`t crash when --section-symbols is requested for an object w/o .symtab.

llvm-readobj crashes when `-S --section-symbols` is used
on an object that has no symbol table.

The patch fixes it.

Differential revision:
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp (diff)
The file was modifiedllvm/test/tools/llvm-readobj/ELF/sections-ext.test (diff)