| Issue |
91708
|
| Summary |
Why can static linking with AOT ld successfully link the object files generated by ORC JIT, but JITlink fails to produce a correct executable file?
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
Thrrreeee
|
When I input a .bc file generated by a multithreaded program, `dump` the object file generated by ORC JIT, ORC JIT cannot produce a correct executable file, and using llvm-jitlink also fails. However, when I use clang `ld` to link, it succeeds.
When debugging with LLDB, it outputs the error ` signal SIGSEGV: invalid address (fault address: 0x0).`
What could be the reasons behind this situation?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs