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


  1. Suppress useless GCC "bitfield is too small to hold all values of enum (details)
  2. Break out OrcError and RPC (details)
  3. [ADT] add equality operator for SmallSet (details)
  4. [lit] Refactor ordering of tests (details)
  5. [llvm-cov] Add option to whitelist filenames (details)
  6. gn build: (manually) merge a34680a3 (details)
  7. [WebAssembly][lld] Fix for static linking of PIC code (details)
Commit cbb3104b1c8ea93b6749043184a8d8952b8b2747 by richard
Suppress useless GCC "bitfield is too small to hold all values of enum
class" warning.
The file was modifiedclang/include/clang/Sema/Sema.h
Commit a34680a33eb1caa5e224a9432e9f3e643824dc2d by chris.bieneman
Break out OrcError and RPC
Summary: When createing an ORC remote JIT target the current library
split forces the target process to link large portions of LLVM (Core,
Execution Engine, JITLink, Object, MC, Passes, RuntimeDyld, Support,
Target, and TransformUtils). This occurs because the ORC RPC interfaces
rely on the static globals the ORC Error types require, which starts a
cycle of pulling in more and more.
This patch breaks the ORC RPC Error implementations out into an
"OrcError" library which only depends on LLVM Support. It also pulls the
ORC RPC headers into their own subdirectory.
With this patch code can include the Orc/RPC/*.h headers and will only
incur link dependencies on LLVMOrcError and LLVMSupport.
Reviewers: lhames
Reviewed By: lhames
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
The file was modifiedllvm/lib/ExecutionEngine/CMakeLists.txt
The file was removedllvm/lib/ExecutionEngine/Orc/OrcError.cpp
The file was modifiedllvm/lib/ExecutionEngine/LLVMBuild.txt
The file was modifiedllvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/RemoteJITUtils.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/QueueChannel.h
The file was addedllvm/lib/ExecutionEngine/OrcError/OrcError.cpp
The file was removedllvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h
The file was modifiedllvm/tools/lli/RemoteJITUtils.h
The file was removedllvm/include/llvm/ExecutionEngine/Orc/RawByteChannel.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h
The file was removedllvm/lib/ExecutionEngine/Orc/RPCUtils.cpp
The file was addedllvm/lib/ExecutionEngine/OrcError/RPCError.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/RPC/RawByteChannel.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLVMBuild.txt
The file was removedllvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
The file was addedllvm/lib/ExecutionEngine/OrcError/LLVMBuild.txt
The file was addedllvm/lib/ExecutionEngine/OrcError/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
Commit 4aee4c99c543dba7d9d67029e40311eb629e30c3 by fedor.sergeev
[ADT] add equality operator for SmallSet
Makes it easier to migrate existing code that uses std::set.
Reviewed By: fhahn Differential Revision:
The file was modifiedllvm/unittests/ADT/SmallSetTest.cpp
The file was modifiedllvm/include/llvm/ADT/SmallSet.h
Commit 3b982b11f4e7c45c59ff80136efab7c116313e98 by julian.lettner
[lit] Refactor ordering of tests
The file was modifiedllvm/utils/lit/lit/
The file was modifiedllvm/utils/lit/lit/
Commit bfed824b57d14e2ba98ddbaf1a1410cf04a3e279 by Vedant Kumar
[llvm-cov] Add option to whitelist filenames
Add the `-whitelist-filename-regex` option to restrict coverage
reporting to file paths that match a whitelist regex.
Patch by Michael Daniels!
The file was modifiedllvm/tools/llvm-cov/CoverageFilters.h
The file was modifiedllvm/tools/llvm-cov/CoverageExporterJson.h
The file was modifiedllvm/tools/llvm-cov/CoverageReport.h
The file was modifiedllvm/tools/llvm-cov/CoverageFilters.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-cov.rst
The file was modifiedllvm/tools/llvm-cov/CodeCoverage.cpp
The file was modifiedllvm/tools/llvm-cov/CoverageExporterLcov.h
The file was addedllvm/test/tools/llvm-cov/whitelist-filename-regex.test
The file was modifiedllvm/tools/llvm-cov/CoverageExporterLcov.cpp
The file was modifiedllvm/tools/llvm-cov/CoverageExporter.h
The file was modifiedllvm/tools/llvm-cov/CoverageExporterJson.cpp
The file was modifiedllvm/tools/llvm-cov/CoverageReport.cpp
Commit 4d06ea83cc156ae8410316e56237eab5144b5fa5 by nicolasweber
gn build: (manually) merge a34680a3
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/
The file was addedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/
Commit baff8ec2e1d845d90580a0d85ad6ab43d929bcfe by sbc
[WebAssembly][lld] Fix for static linking of PIC code
When statically linking PIC code we create an internalized __memory_base
so that memory-base-relative relocation work correctly.  The value of
this global should be zero, and not the globalBase since the globalBase
offset is already taken into account by getVirtualAddress.
Differential Revision:
The file was modifiedlld/test/wasm/pic-static.ll
The file was modifiedlld/wasm/Writer.cpp