graph-llvm-ir icon indicating copy to clipboard operation
graph-llvm-ir copied to clipboard

AssertionError

Open ANIKET-SHIVAM opened this issue 9 years ago • 4 comments

Hi, I getting an AssertionError(details below) on execution of the script. Could you please see on why is this happening. Thanks.

$ ./graph-llvm-ir ./vector_sum.ll && dot −Tpdf vector_sum.dot −o vector_sum.pdf

Error: Traceback (most recent call last): File "./graph-llvm-ir", line 216, in mod = Module.from_assembly(asm) File "/usr/local/lib/python2.7/dist-packages/llvm/core.py", line 443, in from_assembly return Module(m) File "/usr/local/lib/python2.7/dist-packages/llvm/init.py", line 16, in init assert ptr AssertionError

ANIKET-SHIVAM avatar Apr 23 '15 01:04 ANIKET-SHIVAM

I have the same issue. Has it been solved?

noraabiakar avatar Sep 13 '16 08:09 noraabiakar

+1

iGhoneim avatar Oct 09 '16 00:10 iGhoneim

I get the same assertion error on LLVM versions above 3.3. It works fine for llvm -3.3 though.

LlewellynVishal avatar Oct 23 '17 00:10 LlewellynVishal

I got the same error. solved yet?

mohmsslk avatar Apr 04 '18 12:04 mohmsslk