1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/unittests
Lang Hames bbe6d35d70 [ORC] Update lazyReexports to support aliases with different symbol names.
A bug in the existing implementation meant that lazyReexports would not work if
the aliased name differed from the alias's name, i.e. all lazy reexports had to
be of the form (lib1, name) -> (lib2, name). This patch fixes the issue by
capturing the alias's name in the NotifyResolved callback. To simplify this
capture, and the LazyCallThroughManager code in general, the NotifyResolved
callback is updated to use llvm::unique_function rather than a custom class.

No test case yet: This can only be tested at runtime, and the only in-tree
client (lli) always uses aliases with matching names. I will add a new LLJIT
example shortly that will directly test the lazyReexports API and the
non-trivial alias use case.
2020-01-15 08:02:53 -08:00
..
ADT Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic template 2020-01-14 18:56:29 +01:00
Analysis
AsmParser
BinaryFormat
Bitcode
Bitstream
CodeGen
DebugInfo
Demangle
ExecutionEngine [ORC] Update lazyReexports to support aliases with different symbol names. 2020-01-15 08:02:53 -08:00
Frontend
FuzzMutate
IR [IR] fix potential crash in Constant::isElementWiseEqual() 2020-01-14 11:52:38 -05:00
LineEditor
Linker
MC [X86][Disassembler] Fix a bug when disassembling an empty string 2020-01-13 10:42:21 -08:00
MI
Object [unittests] Fix "comparison of integers of different signs" warnings 2020-01-14 13:24:51 +01:00
ObjectYAML
Option
Passes
ProfileData
Remarks
Support
TableGen
Target CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
TextAPI
tools CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
Transforms
XRay
CMakeLists.txt CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
unittest.cfg.in