search for: postcall

Displaying 10 results from an estimated 10 matches for "postcall".

2011 Nov 23
0
[LLVMdev] GC plugin: Not add (postcall) safe point after tail-call
Hi all, I have implemented a GC plugin and i want to exclude Tail-call instructions from being considered as Safe Points. For that reason I have overwritten the "findCustomSafePoints" function with something like that: bool ErlangGC::findCustomSafePoints(GCFunctionInfo &FI, MachineFunction &MF) { for (MachineFunction::iterator BBI = MF.begin(),
2011 Jul 29
1
[LLVMdev] Problem with stack arguments
...ents are promoted to registers and the rest to the stack, and the callee is responsible for popping the stack arguments. So when calling a function with 5 arguments i get this code: movq ARG_5, (%rsp) callq fun_foo_1 .Ltmp4: subq $8, %rsp I use a garbage collector with postcall safe points (.Ltmp4 is such) which needs to know the frame size, for each safe point. The problem is that at .Ltmp4 the frame size is actually different from what getFrameSize() would return. So is there a way to force generation of code which pushes arguments ? For example : pushq ARG_5 call...
2011 Jul 19
0
[LLVMdev] Improving Garbage Collection
...as being at all call sites (which begs the question > what about leaves > in the call tree, how does GC get started at all in that case). > > The LLVM linker has a feature where you can specify what kind of safe points your collector requires - the options are Loop, Return, PreCall and PostCall. You can also override this behavior and examine each instruction and return a boolean indicating whether it is or isn't a safe point. Currently I only have function calls as safe points, although I may eventually enable loops as well. As far as leaf functions go, consider that the call to all...
2011 Jul 18
3
[LLVMdev] Improving Garbage Collection
Talin, do you identify safe-points in the current or proposed llvm scheme, and if so how, or are they implicit as being at all call sites (which begs the question what about leaves in the call tree, how does GC get started at all in that case). Peter Lawrence.
2006 Jan 16
0
FW: Exited non-zero
...alls from internal SIP phones work perfectly. Calls from external sources (my PBX) fail. Obviously, I have a dialplan / context problem, but I'd appreciate a brief explanation and some direction from the group! In extensions.conf, I have [from-pstn]. Under that section, I have included [ext-postcall]. Then I have the following in an included file: [ext-postcall] exten => 3852,1,Answer exten => 3852,2,Dial(zap/g1/8030,10,g) exten => 3852,3,wait(5) exten => 3852,4,Dial(zap/g1/8041,10,g) exten => 3852,5,wait(5) exten => 3852,6,NoOp(${DIALSTATUS}) exten => 3852,7,Hangup The...
2011 Jul 19
3
[LLVMdev] Improving Garbage Collection
...call sites (which begs the > question what about leaves > in the call tree, how does GC get started at all in that case). > > The LLVM linker has a feature where you can specify what kind of > safe points your collector requires - the options are Loop, Return, > PreCall and PostCall. You can also override this behavior and > examine each instruction and return a boolean indicating whether it > is or isn't a safe point. > > Currently I only have function calls as safe points, although I may > eventually enable loops as well. As far as leaf functions go,...
2006 Jan 12
3
Bridging app
Hi All- I am trying to create a post call survey application. I would like to: 1. ask the caller if they want to take a survey after their call completes 2. If no, just transfer the call 3. if yes, 4. bridge up another extension 5. wait for that extension to hang-up 6. have the system (not the user) transfer the call to different extension that administers an IVR based survey. Anyone
2003 Apr 10
2
exited non-zero
I've been beating myself up over this script but clearly I'm missing something. If I enter an extension like 101 it rings through fine, but if I pick 2 for sales it hangs up with this message: == Spawn extension (sales, s, 1) exited non-zero on `Zap/1-1' Since I'm not sure what that exacly means I cannot take appropriate action. Any help would be appreciated. [default]
2011 Jul 20
0
[LLVMdev] Improving Garbage Collection
...g at all call sites (which begs the question what about leaves >> in the call tree, how does GC get started at all in that case). >> >> The LLVM linker has a feature where you can specify what kind of safe points your collector requires - the options are Loop, Return, PreCall and PostCall. You can also override this behavior and examine each instruction and return a boolean indicating whether it is or isn't a safe point. >> >> Currently I only have function calls as safe points, although I may eventually enable loops as well. As far as leaf functions go, consider th...
2011 Oct 31
2
[LLVMdev] Adding a custom GC safe point creation phase
...n 0; +} + + GCFunctionInfo *GCStrategy::insertFunctionInfo(const Function &F) { GCFunctionInfo *FI = new GCFunctionInfo(F, *this); Functions.push_back(FI); @@ -370,6 +379,7 @@ MCSymbol* Label = InsertLabel(*CI->getParent(), RAI, CI->getDebugLoc()); FI->addSafePoint(GC::PostCall, Label, CI->getDebugLoc()); } + } void MachineCodeAnalysis::FindSafePoints(MachineFunction &MF) { @@ -405,9 +415,13 @@ // Find the size of the stack frame. FI->setFrameSize(MF.getFrameInfo()->getStackSize()); - + // Find all safe points. - FindSafePoints(MF); + if (FI...