Issue |
143080
|
Summary |
[Cygwin] lli crashes with --no-process-syms
|
Labels |
new issue
|
Assignees |
|
Reporter |
jeremyd2019
|
`lli -no-process-syms -lljit-platform=Inactive -emulated-tls -jit-kind=orc-lazy test/ExecutionEngine/OrcLazy/emulated-tls.ll`
The ExecutionEngine/OrcLazy/emulated-tls.ll test fails with a segfault in https://github.com/llvm/llvm-project/blob/eb71fdde5709b0200b8be343088c763be0850ff6/llvm/tools/lli/lli.cpp#L1086-L1089
it appears that `J->getProcessSymbolsJITDylib()` returns NULL. Should there be a check of that return value before calling `->define` on it, or is there some other place that is ensuring this is not NULL on MinGW that should also be used on Cygwin?
@mstorsjo
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs