[llvm-dev] jump table crash with x64 JIT
Csaba Hruska via llvm-dev
llvm-dev at lists.llvm.org
Sat Feb 24 14:59:10 PST 2018
I'm successfully using LLVM in my compiler project, but it works only if I
disable *jump tables* codegen.
In the following gist
can find the generated LLVM IR and x64 code for the buggy
version of the same program. The ok.ll and bug.ll differs only in a
*"no-jump-tables"="true"* function attribute.
I've investigated a little and turned out that the code crashes at this
BTW the generated code code seems fine for me.
Do you have any idea what is going on?
Is there any extra alignment requirement?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev