[llvm-dev] lli: wrong output; clang: segmentation fault

Ilya Skapenko via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 2 10:28:04 PST 2017


Forgot to add. Tested LLVM and Clang versions: trunk 296733.

2017-03-02 19:06 GMT+03:00 Ilya Skapenko <aweflea at gmail.com>:

> Dear developers,
>
> Attached .ll file looks well-formed, but lli produces wrong output.
> It prints just: '20\n', although the correct output:'20\n22\n'.
> Executable, compiled with clang++ has segmentation fault, because it
> overwrites a return address. But the file, emitted with llc looks nice.
> Architecture: Linux, x86-64
> I wanted to submit a bug, but I can't get an account.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170302/a98a9c95/attachment.html>


More information about the llvm-dev mailing list