https://bugs.llvm.org/show_bug.cgi?id=44120

            Bug ID: 44120
           Summary: LLJITWithObjectCache example program segfaults
           Product: libraries
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: OrcJIT
          Assignee: unassignedb...@nondot.org
          Reporter: frank.tet...@tu-dresden.de
                CC: 1101.deb...@gmail.com, llvm-bugs@lists.llvm.org

The example program crashes with SIGSEGV.

The symbol lookup of the generated function fails which leads to the function
pointer being NULL. The indirect call through the function pointer results in
the segfault.

My build configuration is nearly default:
cmake -DCMAKE_BUILD_TYPE=Release/Debug -DLLVM_BUILD_LLVM_DYLIB=ON ..

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to