[LLVMdev] boost shared pointer & llvm

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


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

void<unnamed>::Emitter::emitInstruction(const llvm::MachineInstr&, const 
llvm::TargetInstrDesc*): Assertion `0 && "JIT does not support inline asm!\n"' 

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,
-------------- 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