similar to: [LLVMdev] How call other lib functions in a pass?

Displaying 16 results from an estimated 16 matches similar to: "[LLVMdev] How call other lib functions in a pass?"

2006 May 22
2
[LLVMdev] Indirect function call
The follwing is a snippet of code to find some indirect calls in a module, which I learned from TopDownClosure.cpp: void FPS::repairCallGraph(Module &M) { CompleteBUDataStructures &DS = getAnalysis<CompleteBUDataStructures>(); for (Module::iterator f = M.begin(); f != M.end(); ++f ) { if( f->isExternal() ) continue; for (Function::iterator I = f->begin(); I !=
2006 May 22
0
[LLVMdev] Indirect function call
On Mon, 2006-05-22 at 15:33 +0800, 夏一民 wrote: > But my code does not always works: if the arguments are not pointer, > CompleteBUDataStructures not records it. So, if you want to find all indirect > calls, you maybe have to repair CompleteBUDataStructures. :) Not surprising, CBU is trying to do something entirely different that what you are. > If you do not use BUDataStructures, you
2006 May 23
1
[LLVMdev] Indirect function call
>On Monday 22 May 2006 22:22, Andrew Lenharth wrote: > The BasicCallGraph class only lines out the indirect calls(makes the caller point to external node), >but do not resolves them using alias analysis such as DSA. >I think DSA solve this problem for interested call sites by finding the corresponding globals(i.e. the functions) >for the callsite DSnode. Yes, if we want to
2006 May 23
4
[LLVMdev] Indirect function call
On Monday 22 May 2006 22:22, Andrew Lenharth wrote: > On Mon, 2006-05-22 at 15:33 +0800, 澶忎竴姘� wrote: > > But my code does not always works: if the arguments are not pointer, > > CompleteBUDataStructures not records it. So, if you want to find all indirect > > calls, you maybe have to repair CompleteBUDataStructures. :) > > Not surprising, CBU is trying to do something
2004 Sep 03
1
Wine and Remote Desktop??---- can't get mouse focus
hi all: I copied over a windows MSTSC.exe and ran the remote desktop, it gave me a small window for the IP address, then after the successful connection, it shows me the (full screen ) XP login interface, weir thing is, it loses mouse / keyboard focus now, so I can't type in anything, neither can I close the window, the focus is still on the background (gnome) desktop, so I could press
2004 Sep 04
2
Browsing a across subnets
Hi, I've got a small network at home with a topology as follows: -- Cable Modem -- Router 1 -- Switch 1 -- Server 1 | Router 2/Switch 2 --+-- Server 2 | | | WAP 1 --+ +-- WAP 2 +-- Client 1 | +--
2003 Aug 19
5
SIP QUESTION
Hi Is posible to make a call from site A to Site C, and my question is, the rtp data is from A to C or is from A to B to C Site A Site B Site C ata186<-------->FW<--------->Asterisk<--------->FW<----------->ata186 Thanks -------------- next part -------------- An HTML attachment was scrubbed...
2004 Aug 30
2
[Fwd: Re: segmentation error]
Realise I've sent this to the wrong email address. Apologies to recipient. > > > > I've only just learnt what CVS is for. I've had a look at setting up a > > cvs client but have got mightily confused. Is there a good site that > > explains how to set it up and then use it for a first-timer. > > > > Did you read the instructions at
2004 Sep 01
4
Group Dial
Hi everyone, I want to have a group and dial multiple phones/lines simultaneously. If I use this Dial command: exten => 222,2,Dial(${TRUNKBP}/246&SIP/258&${TRUNKBP}/243,20,tTr) ... all phones ring just once, after that only the first one continues ringing and only that one can answer. Can anyone tell me why? thanks! Tomica -------------- next part -------------- An HTML
2004 Sep 03
5
Lower cost router suitable for VOIP ?
Hi, we're testing Asterisk 1 RC 2 behind ordinary router and NAT. Since we're sharing network with web server it seems like voip packets are not coming through fast enough (Digium demo dies after few seconds...). It's the same if I make direct calls (passing Asterisk) so we conclude it's network problem - it also work normally outside our router... I wonder what solutions can we
2004 Sep 01
5
OCFS Questions
Hi OCFS Gurus... I have 2 questions for OCFS ver 1.0.10.1 1. What is the Maximum mount point suggested if we are using OCFS ? 2. Is there any method to tune the OCFS to booster the IO performance? Awaiting ur responses... Thanks in Advance... Rgds/Jeram
2004 Aug 17
1
[LLVMdev] What's the meaning of [0 x sbyte*]?
Hi When I compiled sendmail v8.11.6 with LLVM 1.2, I found some variables with strange type, such as: %sys_errlist = external constant [0 x sbyte*] ; <[0 x sbyte*]*> [#uses=3] %tmp.24 = getelementptr [0 x sbyte*]* %sys_errlist, long 0, long %tmp.23 ; <sbyte**> [#uses=1] The process of getting these is: 1. entry sendmail-8.11.6 directory 2. make
2004 Sep 01
0
[LLVMdev] How call other lib functions in a pass?
My pass has to call one function of a binary library. But when opt loads my pass, it tells me that the function is "undefined symbol". I copy the library to /usr/lib, and run ldconfig, but this is unuseful. Should I modify the Makefile? :( Thanks. Xia -------------------------------------------------------------------------------------AOC(冠捷)17寸液晶16ms¥2888
2006 Jan 14
1
[LLVMdev] A question about alias analysis
Hello, I got a strange result when I used alias analysis DSAA, can you tell what is wrong? 1. The following is the primary body of my pass "fps.cpp": AliasAnalysis *AA = &getAnalysis<AliasAnalysis>(); AliasSetTracker AST(*AA); for (Module::iterator fi = M.begin(), fe = M.end(); fi != fe; ++fi ) for (Function::iterator bi = fi->begin(), be = fi->end(); bi
2006 Jan 15
1
[LLVMdev] A question about alias analysis
Oh, your meaning is pointers in a aliasset have equal address logically? But I think that two pointers are alias means they point to a same memory object, so if pointers "p" and "q" are alias, it seem as p = q, not &p = &q. Another question is about "forwarding". "AliasSet[XXXX, 0] may alias, Mod/Ref forwarding to YYYY" (XXXX != YYYY) means the
2006 Jan 15
1
[LLVMdev] A question about alias analysis
Thank you, Chris. The following is my comprehension about the AliasSetTracker, please correct me. 1. A aliasset "as" represents a memory object, and all pointer "p" in "as" represent values with the type of pointer that may/must point to the memory object "as". 2. If a aliasset is "forwarding", it has been merged to another aliasset and I