[llvm-bugs] [Bug 44120] New: LLJITWithObjectCache example program segfaults

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 22 08:46:30 PST 2019


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: unassignedbugs at nondot.org
          Reporter: Frank.Tetzel at tu-dresden.de
                CC: 1101.debian at gmail.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191122/c725f307/attachment.html>


More information about the llvm-bugs mailing list