xgupta added a comment. Although this patch is correct, running ./LLJITWithTargetProcessControl result in segmentation fault.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: 0. Program arguments: ./LLJITWithTargetProcessControl #0 0x00007fdee365ab73 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/xgupta/llvm/llvm-upstream/build/bin/../lib/libLLVMSupport.so.14git+0x1f6b73) #1 0x00007fdee365892e llvm::sys::RunSignalHandlers() (/home/xgupta/llvm/llvm-upstream/build/bin/../lib/libLLVMSupport.so.14git+0x1f492e) #2 0x00007fdee365b03a SignalHandler(int) Signals.cpp:0:0 #3 0x00007fdee3c16870 __restore_rt sigaction.c:0:0 #4 0x00007fdee461a9e4 llvm::orc::EPCIndirectionUtils::Create(llvm::orc::ExecutorProcessControl&) (/home/xgupta/llvm/llvm-upstream/build/bin/../lib/libLLVMOrcJIT.so.14git+0xfb9e4) #5 0x0000000000208781 main (./LLJITWithTargetProcessControl+0x208781) #6 0x00007fdee2f48b25 __libc_start_main (/usr/lib/libc.so.6+0x27b25) #7 0x0000000000207fde _start (./LLJITWithTargetProcessControl+0x207fde) [1] 52081 segmentation fault (core dumped) ./LLJITWithTargetProcessControl Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D110260/new/ https://reviews.llvm.org/D110260 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits