https://bugs.llvm.org/show_bug.cgi?id=44337
Bug ID: 44337
Summary: IR with double constant doesn't work with OrcJIT build
by MSVC
Product: libraries
Version: 9.0
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: OrcJIT
Assignee: unassignedb...@nondot.org
Reporter: akornilov...@gmail.com
CC: 1101.deb...@gmail.com, llvm-bugs@lists.llvm.org
Created attachment 22946
--> https://bugs.llvm.org/attachment.cgi?id=22946&action=edit
The IR module
Precondition:
LLVM 9.0.0 built by MSVC 2019.
Steps to reproduce:
1) Load 'module.bc' to memory from the file.
2) Add module to LLLazyJIT.
3) Request address of function 'calculate'.
4) Call function 'calculate'.
Expected result:
The function should be executed fine.
Actual result:
The OrcJIT failed on an assertion Core.cpp:867:
Assertion failed: I != Symbols.end() && "Symbol not found", file
C:\Workspace\llvm-9.0.0.src\lib\ExecutionEngine\Orc\Core.cpp, line 867
Note:
I figured out that the missed symbol is __real@40091eb851eb851f. It appears
after IR code is compiled by llc to assembler.
This issue is not observed on Linux and MinGW builds on Windows.
--
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