1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/unittests
Lang Hames 0c2a797c97 [ORC] Add a special 'main' JITDylib that is created on ExecutionSession
construction, a new convenience lookup method, and add-to layer methods.

ExecutionSession now creates a special 'main' JITDylib upon construction. All
subsequently created JITDylibs are added to the main JITDylib's search order by
default (controlled by the AddToMainDylibSearchOrder parameter to
ExecutionSession::createDylib). The main JITDylib's search order will be used in
the future to properly handle cross-JITDylib weak symbols, with the first
definition in this search order selected.

This commit also adds a new ExecutionSession::lookup convenience method that
performs a blocking lookup using the main JITDylib's search order, as this will
be a very common operation for clients.

Finally, new convenience overloads of IRLayer and ObjectLayer's add methods are
introduced that add the given program representations to the main dylib, which
is likely to be the common case.

llvm-svn: 342086
2018-09-12 21:48:59 +00:00
..
ADT [ADT] Made numerous methods of ImmutableList const 2018-09-12 11:20:15 +00:00
Analysis [LoopInfo][FIX] Remove leftover dump in unit test 2018-09-11 17:49:43 +00:00
AsmParser
BinaryFormat Fix comparison of char and int64 in TestWriteFixNegativeInt 2018-08-23 07:12:05 +00:00
Bitcode
CodeGen Move init code in AArch64SelectionDAGTest to SetUpTestCase (NFC) 2018-09-06 18:40:35 +00:00
DebugInfo [PDB] Change uint32_t to SymIndex wherever it makes sense. 2018-09-10 21:30:59 +00:00
Demangle Attempt to fix some MSVC build errors. 2018-08-13 17:39:19 +00:00
ExecutionEngine [ORC] Add a special 'main' JITDylib that is created on ExecutionSession 2018-09-12 21:48:59 +00:00
FuzzMutate
IR [IR] add shuffle queries for identity extend/extract 2018-08-30 15:05:38 +00:00
LineEditor
Linker Inline a few CMake variables into their only uses. 2018-05-14 19:23:31 +00:00
MC [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-27 15:45:51 +00:00
MI
Object
ObjectYAML
Option Revert r341329 due to MSAN error 2018-09-03 18:13:46 +00:00
Passes Revert "unittests: Don't install TestPlugin.so" 2018-08-16 17:15:03 +00:00
ProfileData [NFC] Change sample profile format enum name SPF_Raw_Binary to SPF_Binary. 2018-06-12 05:53:49 +00:00
Support [Error] Reintroduce type validation in createFileError() 2018-09-07 18:32:59 +00:00
Target [WebAssembly] Add WebAssemblyException information analysis 2018-06-25 01:20:21 +00:00
tools Add header guards to some headers that are missing them 2018-09-03 16:22:05 +00:00
Transforms Rename a few unittests/.../Foo.cpp files to FooTest.cpp 2018-09-03 12:43:26 +00:00
XRay [XRay] Add TSC to NewCPUId Records 2018-09-11 06:36:51 +00:00
CMakeLists.txt alphabetize list 2018-05-14 18:23:05 +00:00
unittest.cfg.in Add support for unittest inputs. 2018-09-05 23:30:17 +00:00