Changes

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

Summary

  1. Fix TOSA verifier to emit verbose errors (details)
  2. Test commit to check access. (details)
  3. [CMake] Installable find modules for terminfo and libffi (details)
  4. [lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols (details)
Commit afb0582325f4165c9aea8e3ed3ed451e577616e4 by joker.eph
Fix TOSA verifier to emit verbose errors

Also as a test for invalid ops which was missing.
The file was addedmlir/test/Dialect/Tosa/invalid.mlir
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit 296ebeb808a71e44a64e0f805cffc6e3a3bf6182 by jackoalan
Test commit to check access.
The file was modifiedclang/lib/Driver/Driver.cpp
Commit b66339575a9b541e67ce5ad2ba7e88da07cf9305 by jackoalan
[CMake] Installable find modules for terminfo and libffi

Improves cross-distro portability of LLVM cmake package by resolving paths for
terminfo and libffi via import targets.

When LLVMExports.cmake is generated for installation, it contains absolute
library paths which are likely to be a common cause of portability issues. To
mitigate this, the discovery logic for these dependencies is refactored into
find modules which get installed alongside LLVMConfig.cmake. The result is
cleaner, cmake-friendly management of these dependencies that respect the
environment of the LLVM package importer.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D114327
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
The file was addedllvm/cmake/modules/FindTerminfo.cmake
The file was addedllvm/cmake/modules/FindFFI.cmake
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
Commit 1b44364714981017302f182583a43fda4d28e0eb by jezng
[lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols

We were fetching archive symbols too eagerly, bloating binary size as well as
just screwing up binaries that expected to look up certain symbols only at
runtime.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D115092
The file was modifiedlld/MachO/SymbolTable.cpp
The file was modifiedlld/test/MachO/weak-definition-direct-fetch.s