[llvm-bugs] [Bug 44337] New: IR with double constant doesn't work with OrcJIT build by MSVC
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 18 09:28:49 PST 2019
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: unassignedbugs at nondot.org
Reporter: akornilov.82 at gmail.com
CC: 1101.debian at gmail.com, llvm-bugs at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191218/3767b6ec/attachment.html>
More information about the llvm-bugs
mailing list