[LLVMdev] Crash using the JIT on x86 but work on x64

Duncan Sands baldrick at free.fr
Sat Jul 7 00:22:22 PDT 2012


Hi Skykill,

> Hello everyone, i’m using LLVM (updated to 3.1 after seeing that bug, but it’s
> the same with 3.0) for running a bitcode on a C++ program, and Clang for
> compiling it. My code work perfectly, as expected on x64, but crash on x86. I’m
> on Windows 7 x64 and LLVM + Clang was compiled using Visual Studio 2010 (tested
> in both Release and Debug build). Project was make using CMake.

did you build LLVM with assertions enabled?  -DLLVM_ENABLE_ASSERTIONS=true.  (I
don't recall if cmake Debug build enables assertions by default).

Ciao, Duncan.



More information about the llvm-dev mailing list