[LLVMdev] boost shared pointer & llvm

Stefan Weigert weigert.stefan at googlemail.com
Tue Jul 21 04:27:39 PDT 2009


hi,

when using the execution engine (no matter, if JIT or Interpreter) i get the 
following assertion as soon as i use boost::shared_ptr:

/build/buildd/llvm-2.5/lib/Target/X86/X86CodeEmitter.cpp:522: 
void<unnamed>::Emitter::emitInstruction(const llvm::MachineInstr&, const 
llvm::TargetInstrDesc*): Assertion `0 && "JIT does not support inline asm!\n"' 
failed.

how can i find out which instruction is executed at this point or in which 
function we are currently?

i also attached a very small example, which triggers the assertion when run 
with lli.

thanks a lot in advance,
stefan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c++src
Size: 160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090721/f5d40e79/attachment.cpp>


More information about the llvm-dev mailing list