Displaying 2 results from an estimated 2 matches for "e1295d6f".
2012 Feb 05
2
[LLVMdev] misc questions on opt and bitcode
Hi,
For the very simple example below, I get *Unknown instruction error from
lli and llvm-dis*, while* llc does not print anything*. Not sure what is
that I am missing here. My llvm-gcc version
is i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.1.00)
1-39-155-188:pastebin Babai$ cat example.c
#include <stdio.h>
void hello()
{
2012 Feb 06
0
[LLVMdev] misc questions on opt and bitcode
...tion is illegal? Not offhand, but you can use llvm-gcc -S -emit-llvm example.c -o example.ll to get an llvm bitcode file as text and take a look.
-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120205/e1295d6f/attachment.html>