llvm-project/llvm/examples
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
..
BrainF Opaque pointer GEP fixes for BrainF example 2021-07-18 18:25:54 -07:00
Bye Take OptimizationLevel class out of Pass Builder 2021-07-29 21:57:23 -07:00
ExceptionDemo [examples] fix ExceptionDemo 2020-07-11 12:38:27 -07:00
Fibonacci
HowToUseJIT [examples] Fix "Target does not support MC emission!" in HowToUseJIT example. 2021-01-24 22:11:54 +11:00
HowToUseLLJIT [NFC] Fix title comment typo and provide description for LLJIT example. 2021-01-25 19:46:02 +05:30
IRTransforms [llvm][examples][SimplifyCFG] Fix pass's IR changed reporting 2020-07-27 13:39:58 -06:00
Kaleidoscope [ORC] Require ExecutorProcessControl when constructing an ExecutionSession. 2021-07-27 16:53:49 +10:00
ModuleMaker
OrcV2Examples [examples] Fix incomplete_type on ZLinux when compiling RemoteJITUtils. 2021-08-02 15:15:15 +10:00
ParallelJIT [examples] Fix Target does not support MC emission in ParallelJIT 2021-02-04 22:44:46 +05:30
SpeculativeJIT [ORC] Require ExecutorProcessControl when constructing an ExecutionSession. 2021-07-27 16:53:49 +10:00
CMakeLists.txt [ORC][examples] Remove ThinLtoJIT example after LLJITWithThinLTOSummaries landed in OrcV2Examples 2020-10-01 10:22:09 +02:00