llvm-project/llvm/lib/ExecutionEngine/Orc
Raphael Isemann a2c157eb3e [cmake] Make ExecutionEngine/Orc/Shared depend on intrinsics_gen to fix modules build
The LLVM_ENABLE_MODULES builds currently randomly fail due depending on the
headers generated by the intrinsics_gen target, but the current dependency only model
the non-modules dependencies:

```
While building module 'LLVM_ExecutionEngine' imported from llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.cpp:13:
While building module 'LLVM_intrinsic_gen' imported from llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h:17:
In file included from <module-includes>:1:
In file included from llvm-project/llvm/include/llvm/IR/Argument.h:18:
llvm/include/llvm/IR/Attributes.h:75:14: fatal error: 'llvm/IR/Attributes.inc' file not found
    #include "llvm/IR/Attributes.inc"
             ^~~~~~~~~~~~~~~~~~~~~~~~
```

Depending on whether intrinsics_gen runs before compiling Orc/Shared files we either fail or include an outdated Attributes.inc
in module builds. The Clang modules require these additional dependencies as including/importing one module requires all
includes headers by that module to be parsable.

Differential Revision: https://reviews.llvm.org/D92873
2020-12-08 20:41:35 +01:00
..
Shared [cmake] Make ExecutionEngine/Orc/Shared depend on intrinsics_gen to fix modules build 2020-12-08 20:41:35 +01:00
TargetProcess [llvmbuildectomy] removed vestigial LLVMBuild.txt files 2020-12-05 22:00:22 +01:00
CMakeLists.txt Revert "[build] normalize components dependencies" 2020-11-18 19:23:11 +01:00
CompileOnDemandLayer.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
CompileUtils.cpp [ORC] Add generic initializer/deinitializer support. 2020-02-19 13:59:32 -08:00
Core.cpp Unconditionally #include <future> 2020-10-23 19:17:37 +00:00
DebugUtils.cpp [ORC] Introduce JITSymbolFlags::HasMaterializeSideEffectsOnly flag. 2020-03-27 11:02:54 -07:00
ExecutionUtils.cpp [ORC] Break up OrcJIT library, add Orc-RPC based remote TargetProcessControl 2020-11-13 17:05:13 +11:00
IRCompileLayer.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
IRTransformLayer.cpp Re-apply "[ORC] Make MaterializationResponsibility immovable..." with fixes. 2020-09-11 14:09:05 -07:00
IndirectionUtils.cpp Remove superfluous whitespace around if(). NFC. 2020-10-25 14:38:16 +00:00
JITTargetMachineBuilder.cpp [ORC] Add debugging output for LLJIT construction. 2020-05-28 20:31:50 -07:00
LLJIT.cpp [ORC] Add basic ResourceTracker support to the OrcV2 C Bindings. 2020-10-19 01:59:04 -07:00
Layer.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
LazyReexports.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
MachOPlatform.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
Mangling.cpp [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags(). 2020-04-18 21:27:57 +08:00
ObjectLinkingLayer.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
ObjectTransformLayer.cpp Re-apply "[ORC] Make MaterializationResponsibility immovable..." with fixes. 2020-09-11 14:09:05 -07:00
OrcABISupport.cpp [ORC] Remove a spurious reinterpret_cast. 2020-07-13 12:39:24 -07:00
OrcV2CBindings.cpp [ORC] Fix a missing include. 2020-10-19 12:13:55 -07:00
RTDyldObjectLinkingLayer.cpp [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
SpeculateAnalyses.cpp [CFG/BasicBlock] Rename succ_const to const_succ. [NFC] 2020-03-25 12:40:55 -07:00
Speculation.cpp Re-apply "[ORC] Make MaterializationResponsibility immovable..." with fixes. 2020-09-11 14:09:05 -07:00
TPCDynamicLibrarySearchGenerator.cpp [Orc] Two small fixes in TPCDynamicLibrarySearchGenerator 2020-12-08 10:58:20 +01:00
TPCEHFrameRegistrar.cpp [ORC] Break up OrcJIT library, add Orc-RPC based remote TargetProcessControl 2020-11-13 17:05:13 +11:00
TPCIndirectionUtils.cpp [ORC] Break up OrcJIT library, add Orc-RPC based remote TargetProcessControl 2020-11-13 17:05:13 +11:00
TargetProcessControl.cpp TargetProcessControl.cpp - Remove warning: extra ‘;’ 2020-11-27 18:19:58 +01:00
ThreadSafeModule.cpp [ORC] cloneToNewContext() can work with a const-ref to ThreadSafeModule 2020-08-13 21:01:21 +02:00