[LLVMdev] LLVM Problem
Paritosh Mittal
paritosh10059 at iiitd.ac.in
Thu Jul 3 23:21:36 PDT 2014
Hello,
I am a presently doing undergraduate studies at IIIT-Delhi and have been
trying to install LLVM and facing some issues installing it which you guys
could help resolving. I am able to generate the byte code but unable to
generate the assembly code from the byte code. Below is the commands that I
executed along with the error.
clang hello.c -o hello
clang -O3 -emit-llvm hello.c -c -o hello.bc
llvm-dis < hello.bc | less
or
llc hello.bc -o hello.s
on running any of the last two lines I am getting an error which I an
unable to resolve and understand:
llvm-dis: invalid module_code_globalvar record
Hoping for an early response.
Thanks
Paritosh Mittal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140704/db101723/attachment.html>
More information about the llvm-dev
mailing list