search for: m_func

Displaying 11 results from an estimated 11 matches for "m_func".

Did you mean: my_func
2007 Jun 23
0
[1063] trunk/wxruby2/swig/classes/EvtHandler.i: Add a public ''connect'' method for handling arbitary user-defined events
...rn swig_class cWxEvtHandler; </span><span class="cx"> static VALUE callbacks = Qnil; </span><span class="cx"> </span><span class="lines">@@ -26,7 +48,6 @@ </span><span class="cx"> wxRbCallback(VALUE func) { m_func = func; } </span><span class="cx"> wxRbCallback(const wxRbCallback &other) { m_func = other.m_func; } </span><span class="cx"> </span><del>- </del><span class="cx"> // This method handles all events on the Wx...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...lback : public wxObject </span><span class="cx"> { </span><del>-// DECLARE_ABSTRACT_CLASS(wxRbCallback); </del><ins>+ </ins><span class="cx"> public: </span><span class="cx"> wxRbCallback(VALUE func) { m_func = func; } </span><span class="cx"> wxRbCallback(const wxRbCallback &other) { m_func = other.m_func; } </span><del>- </del><ins>+ + + // This method handles all events on the WxWidgets/C++ side. It link + // inspects the event and based on...
2018 Apr 01
2
Custom Binary Format Challenges
...{ > for (Instruction &I: B) { > if (auto *CallInst = dyn_cast<CallInst>(&I)) { > // We know we've encountered a call instruction, so we > // need to determine if it's a call to the > // function pointed to by m_func or not. > if (CallInst->getCalledFunction() == targetFunc) > ++callCounter; > } > } > } > } > > private: > unsigned callCounter;}; > > Making the FunctionPass a Module pass should be pretty easy with the...
2018 Apr 01
0
Custom Binary Format Challenges
...(BasicBlock &B : F) { for (Instruction &I: B) { if (auto *CallInst = dyn_cast<CallInst>(&I)) { // We know we've encountered a call instruction, so we // need to determine if it's a call to the // function pointed to by m_func or not. if (CallInst->getCalledFunction() == targetFunc) ++callCounter; } } } } private: unsigned callCounter;}; Making the FunctionPass a Module pass should be pretty easy with the linked guide. (instead of inheriting from Function P...
2018 Apr 01
2
Custom Binary Format Challenges
Hello, I hope you are all doing well and thanks in advance. I need to program a transformation of a set of llvm bitcode to have some various techniques woven in. In particular, I need to resolve a given computed target address to one of several in the same way that the function of a dynamic library is resolved, but I need this resolution to happen in the binary target of my choice where I tell
2018 Apr 01
2
Custom Binary Format Challenges
...&I: B) { >>> if (auto *CallInst = dyn_cast<CallInst>(&I)) { >>> // We know we've encountered a call instruction, so we >>> // need to determine if it's a call to the >>> // function pointed to by m_func or not. >>> if (CallInst->getCalledFunction() == targetFunc) >>> ++callCounter; >>> } >>> } >>> } >>> } >>> >>> private: >>> unsigned callCounter;}; >&g...
2018 Apr 01
0
Custom Binary Format Challenges
...or (Instruction &I: B) { >> if (auto *CallInst = dyn_cast<CallInst>(&I)) { >> // We know we've encountered a call instruction, so we >> // need to determine if it's a call to the >> // function pointed to by m_func or not. >> if (CallInst->getCalledFunction() == targetFunc) >> ++callCounter; >> } >> } >> } >> } >> >> private: >> unsigned callCounter;}; >> >> Making the FunctionPass...
2018 Apr 02
0
Custom Binary Format Challenges
...;>>> if (auto *CallInst = dyn_cast<CallInst>(&I)) { >>>> // We know we've encountered a call instruction, so we >>>> // need to determine if it's a call to the >>>> // function pointed to by m_func or not. >>>> if (CallInst->getCalledFunction() == targetFunc) >>>> ++callCounter; >>>> } >>>> } >>>> } >>>> } >>>> >>>> private: >>>&gt...
2002 Sep 16
1
[LLVMdev] questions about llvm
...ie; ++i) { if (CallInst* callInst = dyn_cast<CallInst>(&*inst)) { // we know we've encountered a call instruction, so we // need to determine if it's a call to the // function pointed to by m_func or not. if(callInst->getCalledFunction() == targetFunc) ++callCounter; } } } private: unsigned callCounter; }; ------------------------------------------ I don't unders...
2018 Apr 02
1
Custom Binary Format Challenges
...; if (auto *CallInst = dyn_cast<CallInst>(&I)) { >>>>> // We know we've encountered a call instruction, so we >>>>> // need to determine if it's a call to the >>>>> // function pointed to by m_func or not. >>>>> if (CallInst->getCalledFunction() == targetFunc) >>>>> ++callCounter; >>>>> } >>>>> } >>>>> } >>>>> } >>>>> >>>&gt...
2016 Sep 14
2
setDataLayout segfault
Ok. I can make a copy of the unique_ptr before moving it into the builder's constructor and use the copy later on. It is confusing to require a unique_ptr. Frank On 09/14/2016 12:11 PM, Frank Winter via llvm-dev wrote: > I am constructing the engine builder in the following way: > > llvm::SMDiagnostic Err; > unique_ptr<Module> Mod = getLazyIRFileModule("f.ll",