search for: loadvaluefrommemory

Displaying 4 results from an estimated 4 matches for "loadvaluefrommemory".

2019 Jul 17
2
Help to understand LoadValueFromMemory
...I thought the correct approach to achieve what I need was: ExecutionContext& SF = ECStack.back(); GenericValue SRC = getOperandValue(source, SF); GenericValue* Ptr = (GenericValue*)GVTOP(SRC); GenericValue Result; source->getPointerOperand()->getType()->dump(); //[40 x i8]* LoadValueFromMemory(Result, Ptr, source->getPointerOperand()->getType()); and use Result.PointerVal ... In the end I have the first 4 bytes within Result.PointrVal but I cannot see the other bytes.. Unfortunately also Result.AggregateVal has size 0. Could you help me to understand why please? The core part o...
2008 Oct 30
3
[LLVMdev] Problem executing code with lli...
...de file and then run it through lli it segfaults and the program aborts. This is the stack trace after execution. lli((anonymous namespace)::PrintStackTrace()+0x1f)[0x67cc7f] lli((anonymous namespace)::SignalHandler(int)+0x172)[0x67cf72] /lib64/tls/libc.so.6[0x2a95e4b300] lli(llvm::ExecutionEngine::LoadValueFromMemory(llvm::GenericValue*, llvm::Type const*)+0x182)[0x4be4f2] lli(llvm::InstVisitor<llvm::Interpreter, void>::visit(llvm::Instruction&)+0x1fe)[0x4b648e] lli(llvm::Interpreter::run()+0x2b)[0x4b179b] lli(llvm::Interpreter::runFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allo...
2010 Nov 03
4
[LLVMdev] Fw: Forcing the Interpreter segfaults
....com> To: Török Edwin <edwintorok at gmail.com> Subject: Re: [LLVMdev] Forcing the Interpreter segfaults I have build LLVM in debug mode. Here are the informations of the segfault : memcpy() at 0x7ffff6f6581e LoadIntFromMemory() at ExecutionEngine.cpp:887 0xb3c297 llvm::ExecutionEngine::LoadValueFromMemory() at ExecutionEngine.cpp:915 0xb3c3f9 llvm::Interpreter::visitLoadInst() at Execution.cpp:812 0xa1f855 llvm::InstVisitor<llvm::Interpreter, void>::visitLoad() at 0xa28357 llvm::InstVisitor<llvm::Interpreter, void>::visit() at 0xa26b4e llvm::Interpreter::run() at Execution.cpp:1,328 0x...
2010 Nov 03
0
[LLVMdev] Fw: Forcing the Interpreter segfaults
...drick at free.fr>> wrote: > > Hi, > > > I have build LLVM in debug mode. Here are the informations of the > > segfault : memcpy() at 0x7ffff6f6581e > > LoadIntFromMemory() at ExecutionEngine.cpp:887 0xb3c297 > > llvm::ExecutionEngine::LoadValueFromMemory() at ExecutionEngine.cpp:915 > > 0xb3c3f9 > > llvm::Interpreter::visitLoadInst() at Execution.cpp:812 0xa1f855 > > llvm::InstVisitor<llvm::Interpreter, void>::visitLoad() at 0xa28357 > > llvm::InstVisitor<llvm::Interpreter, void>::visit()...