SuccessChanges

Summary

  1. Add Z3 to system libraries list if enabled (details)
  2. [Docs] Document --lto-whole-program-visibility (details)
  3. Update UnwindPlan dump to list if it is a trap handler func; also Command (details)
  4. Ah, one test too many updated.  This one should be unmodified. (details)
  5. [llvm-lipo] Add support for bitcode files (details)
Commit 30967e51da614fc814f439a925fabbb12f223919 by mikhail.ramalho
Add Z3 to system libraries list if enabled

Without this trying to link static LLVM libraries (built with Z3 enabled) fails because `llvm-config` doesn't print `-lz3`.
We are already using this patch at MSYS2: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-clang/0013-Add-Z3-to-system-libraries-list-if-enabled.patch

Reviewed By: mikhail.ramalho

Differential Revision: https://reviews.llvm.org/D85195
The file was modifiedllvm/lib/Support/CMakeLists.txt
Commit 72bdb41a06a27b5453bf966a0ffecfa6f5fae1a6 by tejohnson
[Docs] Document --lto-whole-program-visibility

Summary:
Documents interaction of linker option added in D71913 with LTO
visibility.

Reviewers: pcc

Subscribers: inglorion, hiraditya, steven_wu, dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75655
The file was modifiedclang/docs/LTOVisibility.rst
Commit 99d187a003c9bd4bdc42c17e5563bd80f4e159e9 by Jason Molenda
Update UnwindPlan dump to list if it is a trap handler func; also Command

Update the "image show-unwind" command output to show if the function
being shown is listed as a user-setting or platform trap handler.

Update the individual UnwindPlan dumps to show whether the unwind plan
is registered as a trap handler.
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-raSearch.test
The file was modifiedlldb/test/Shell/Minidump/Windows/arm-fp-unwind.test
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/stack-cfi-parsing.test
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-win.test
The file was modifiedlldb/test/Shell/SymbolFile/target-symbols-add-unwind.test
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-cfi.test
The file was modifiedlldb/source/Symbol/UnwindPlan.cpp
Commit b1e856d3a9019c355baa186075699d95be7b2735 by Jason Molenda
Ah, one test too many updated.  This one should be unmodified.
The file was modifiedlldb/test/Shell/SymbolFile/target-symbols-add-unwind.test
Commit c6f7ac0071a1849a9f8046e2045e1631e224f1bd by alexshap
[llvm-lipo] Add support for bitcode files

A Mach-O universal binary may contain bitcode as a slice.
This diff adds proper handling of such binaries to llvm-lipo.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D85740
The file was modifiedllvm/include/llvm/Object/Binary.h
The file was modifiedllvm/lib/Object/MachOUniversal.cpp
The file was modifiedllvm/lib/Object/MachOUniversalWriter.cpp
The file was addedllvm/test/tools/llvm-lipo/Inputs/armv7-ios.ll
The file was modifiedllvm/tools/llvm-lipo/CMakeLists.txt
The file was addedllvm/test/tools/llvm-lipo/create-arch-ir.test
The file was modifiedllvm/tools/llvm-lipo/LLVMBuild.txt
The file was addedllvm/test/tools/llvm-lipo/Inputs/arm64-ios.ll
The file was addedllvm/test/tools/llvm-lipo/thin-universal-binary-ir.test
The file was modifiedllvm/include/llvm/Object/MachOUniversal.h
The file was addedllvm/test/tools/llvm-lipo/archs-ir-binary.test
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
The file was addedllvm/test/tools/llvm-lipo/info-universal-binary-ir.test
The file was modifiedllvm/include/llvm/Object/MachOUniversalWriter.h
The file was modifiedllvm/lib/Object/Binary.cpp
The file was modifiedllvm/test/tools/llvm-lipo/create-archive-input.test
The file was addedllvm/test/tools/llvm-lipo/Inputs/x64-osx.ll