[cfe-dev] Windows built Clang and bitcode
H. Johnson
misc at faradayco.com
Wed Nov 12 18:09:55 PST 2008
Should I expect Clang built with Visual Studio to work properly on
Windows? My test file is:
main()
{
int i, j;
for (i=0; i<10; i++)
{
j = i + 5;
}
}
I invoke Clang as follows:
clang -emit-llvm-bc test.c
Then -
lli test.bc (length 575 bytes)
which produces:
lli: error loading program 'test.bc': Bitcode stream should be a
multiple of 4 bytes in length
Where am I going wrong on this?
BTW, thanks Eli for the quick response to the other question. I'll try
LLVM.
Thanks,
Henry
More information about the cfe-dev
mailing list