search for: boost_sp_use_pthreads

Displaying 3 results from an estimated 3 matches for "boost_sp_use_pthreads".

2009 Jul 21
0
[LLVMdev] boost shared pointer & llvm
...question, but you probably don't even need that. 1. Compiling with -save-temps will give you a preprocessed source, and you can grep it for "asm". 2. The assembler most likely comes from boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp. Defining either BOOST_SP_DISABLE_THREAD, or BOOST_SP_USE_PTHREADS will work around this problem. - Volodya
2009 Jul 21
1
[LLVMdev] boost shared pointer & llvm
hi, thanks for your quick replies. -DBOOST_SP_USE_PTHREADS worked indeed. however, i didn't measure the performance but i would assume that the boost developers had a good reason for using assembler in this context. will llvm ever support inline assembly? is there anybody who is working on that? thanks, stefan. On Tuesday 21 July 2009 01:54:20 pm...
2009 Jul 21
3
[LLVMdev] boost shared pointer & llvm
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.