llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging
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
..
CMakeLists.txt [Orc][examples] Adopt ExecutorProcessControl API and re-enable LLJITWithRemoteDebugging 2021-07-29 14:40:42 +02:00
LLJITWithRemoteDebugging.cpp [Orc][examples] Adopt ExecutorProcessControl API and re-enable LLJITWithRemoteDebugging 2021-07-29 14:40:42 +02:00
RemoteJITUtils.cpp [Orc][examples] Adopt ExecutorProcessControl API and re-enable LLJITWithRemoteDebugging 2021-07-29 14:40:42 +02:00
RemoteJITUtils.h [examples] Fix incomplete_type on ZLinux when compiling RemoteJITUtils. 2021-08-02 15:15:15 +10:00