llvm-project/llvm/test
Lang Hames ce2207abaf [ORC] Add support for emulated TLS to ORCv2.
This commit adds a ManglingOptions struct to IRMaterializationUnit, and replaces
IRCompileLayer::CompileFunction with a new IRCompileLayer::IRCompiler class. The
ManglingOptions struct defines the emulated-TLS state (via a bool member,
EmulatedTLS, which is true if emulated-TLS is enabled and false otherwise). The
IRCompileLayer::IRCompiler class wraps an IRCompiler (the same way that the
CompileFunction typedef used to), but adds a method to return the
IRCompileLayer::ManglingOptions that the compiler will use.

These changes allow us to correctly determine the symbols that will be produced
when a thread local global variable defined at the IR level is compiled with or
without emulated TLS. This is required for ORCv2, where MaterializationUnits
must declare their interface up-front.

Most ORCv2 clients should not require any changes. Clients writing custom IR
compilers will need to wrap their compiler in an IRCompileLayer::IRCompiler,
rather than an IRCompileLayer::CompileFunction, however this should be a
straightforward change (see modifications to CompileUtils.* in this patch for an
example).
2020-01-21 19:55:33 -08:00
..
Analysis [IR] Mark memset.* intrinsics as IntrWriteMem. 2020-01-16 10:35:46 +00:00
Assembler Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
Bindings Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
Bitcode Revert "[SVE] Pass Scalable argument to VectorType::get in Bitcode Reader" 2020-01-17 12:13:49 -08:00
BugPoint Migrate function attribute "no-frame-pointer-elim-non-leaf" to "frame-pointer"="non-leaf" as cleanups after D56351 2019-12-24 16:05:15 -08:00
CodeGen [AArch64] Don't generate gpr CSEL instructions in early-ifcvt if regclasses aren't compatible. 2020-01-21 16:51:31 -08:00
DebugInfo [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
Demangle
Examples Re-apply "[Examples] Add IRTransformations directory to examples." 2020-01-04 15:47:23 +00:00
ExecutionEngine [ORC] Add support for emulated TLS to ORCv2. 2020-01-21 19:55:33 -08:00
Feature Mark the test/Feature/load_extension.ll test as unsupported on Darwin. 2020-01-10 20:18:36 -08:00
FileCheck
Instrumentation [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
Integer
JitListener Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
LTO Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
Linker Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
MC [Hexagon] Add support for Hexagon v67t microarchitecture (tiny core) 2020-01-21 11:35:10 -06:00
MachineVerifier Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
Object [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
ObjectYAML [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
Other [VectorUtils] Rework the Vector Function Database (VFDatabase). 2020-01-16 15:08:26 +00:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen TableGen/GlobalISel: Don't check exact intrinsic opcode value 2020-01-17 20:09:53 -05:00
ThinLTO/X86 Reland "[llvm-nm] Don't report "no symbols" error for files that contain symbols" 2020-01-17 10:08:42 -08:00
Transforms [SLP] Don't allow Div/Rem as alternate opcodes 2020-01-21 15:21:17 -08:00
Unit
Verifier [AArch64] Add function attribute "patchable-function-entry" to add NOPs at function entry 2020-01-10 09:55:51 -08:00
YAMLParser
tools [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
.clang-format
CMakeLists.txt [ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc 2020-01-20 09:19:10 -05:00
TestRunner.sh
lit.cfg.py [test] On Mac, don't try to use result of sysctl command if calling it failed. 2020-01-20 10:04:06 +00:00
lit.site.cfg.py.in Use llvm_canonicalize_cmake_booleans where intended 2020-01-03 15:42:35 +01:00