forked from OSchip/llvm-project
a2c157eb3e
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 |
||
---|---|---|
.. | ||
Shared | ||
TargetProcess | ||
CMakeLists.txt | ||
CompileOnDemandLayer.cpp | ||
CompileUtils.cpp | ||
Core.cpp | ||
DebugUtils.cpp | ||
ExecutionUtils.cpp | ||
IRCompileLayer.cpp | ||
IRTransformLayer.cpp | ||
IndirectionUtils.cpp | ||
JITTargetMachineBuilder.cpp | ||
LLJIT.cpp | ||
Layer.cpp | ||
LazyReexports.cpp | ||
MachOPlatform.cpp | ||
Mangling.cpp | ||
ObjectLinkingLayer.cpp | ||
ObjectTransformLayer.cpp | ||
OrcABISupport.cpp | ||
OrcV2CBindings.cpp | ||
RTDyldObjectLinkingLayer.cpp | ||
SpeculateAnalyses.cpp | ||
Speculation.cpp | ||
TPCDynamicLibrarySearchGenerator.cpp | ||
TPCEHFrameRegistrar.cpp | ||
TPCIndirectionUtils.cpp | ||
TargetProcessControl.cpp | ||
ThreadSafeModule.cpp |