llvm-project/llvm/examples/OrcV2Examples
Lang Hames 07a5b7e5b1 [examples] Fix incomplete_type on ZLinux when compiling RemoteJITUtils.
When compiling on ZLinux, we got this error:

/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/ \
RemoteJITUtils.h:80:65:   required from here...
/usr/include/c++/7/bits/unique_ptr.h:76:22: error: invalid application of
'sizeof' to incomplete type 'llvm::orc::RemoteExecutorProcessControl'
  static_assert(sizeof(_Tp)>0,

This patch just removes nullptr from the initialization of
std::unique_ptr<RemoteExecutorProcessControl> to avoid the issue.

Patch by Tung D. Le (tung@jp.ibm.com). Thanks Tung!

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D107247
2021-08-02 15:15:15 +10:00
..
LLJITDumpObjects [Orc] Fix OrcV2Examples after D94690 2021-01-15 13:45:46 +01:00
LLJITWithCustomObjectLinkingLayer
LLJITWithGDBRegistrationListener [Orc][examples] Fix copy/paste issues in comments and inclue guards (NFC) 2021-03-26 18:49:07 +01:00
LLJITWithInitializers [ORC] Add basic ResourceTracker support to the OrcV2 C Bindings. 2020-10-19 01:59:04 -07:00
LLJITWithLazyReexports [examples] Fix an incomplete comment. 2020-05-01 11:06:41 -07:00
LLJITWithObjectCache
LLJITWithObjectLinkingLayerPlugin [ORC] Fix some comments in the LLJITWithObjectLinkingLayerPlugin example. 2021-03-12 19:13:42 -08:00
LLJITWithOptimizingIRTransform [ORC][examples] Add missing library dependencies. 2020-09-22 16:18:00 -07:00
LLJITWithRemoteDebugging [examples] Fix incomplete_type on ZLinux when compiling RemoteJITUtils. 2021-08-02 15:15:15 +10:00
LLJITWithTargetProcessControl [ORC] Require ExecutorProcessControl when constructing an ExecutionSession. 2021-07-27 16:53:49 +10:00
LLJITWithThinLTOSummaries [ORC][examples] Fix missing includes/dependencies in more examples. 2020-11-13 20:22:01 +11:00
OrcV2CBindingsAddObjectFile [ORC] Break up C-API header Orc.h, and add JITEventListener support. 2020-10-19 01:59:04 -07:00
OrcV2CBindingsBasicUsage [ORC][examples] Fix file name in comment. 2021-06-19 11:50:26 +10:00
OrcV2CBindingsDumpObjects [ORC][C-bindings] Re-order object transform function arguments. 2021-06-18 22:12:39 +10:00
OrcV2CBindingsIRTransforms [Orc] Fix name of LLVMOrcIRTransformLayerSetTransform 2021-06-30 21:43:34 +02:00
OrcV2CBindingsLazy [Orc] At CBindings for LazyRexports 2021-07-01 21:52:05 +02:00
OrcV2CBindingsReflectProcessSymbols [ORC] Break up C-API header Orc.h, and add JITEventListener support. 2020-10-19 01:59:04 -07:00
OrcV2CBindingsRemovableCode [ORC] Break up C-API header Orc.h, and add JITEventListener support. 2020-10-19 01:59:04 -07:00
OrcV2CBindingsVeryLazy Reland [Orc] Add verylazy example for C-bindings 2021-07-18 21:17:49 +02:00
CMakeLists.txt Reland [Orc] Add verylazy example for C-bindings 2021-07-18 21:17:49 +02:00
ExampleModules.h [Orc][examples] Add LLJITWithRemoteDebugging example 2021-03-28 17:25:09 +02:00