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

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

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 04
1
[LLVMdev] How call other lib functions in a pass?
I modify the Makefile, and it is not a problem. :) > 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
2004 Jul 20
4
[LLVMdev] Close the extension for lib functions?
Why some library functions (such as strcpy,strncpy,etc.) are extended in .bc file? How to keep the originally forms of these library functions in .bc file? Thanks - Xia ______________________________________ ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html �� =================================================================== HP����̨ʽ����������ִ���Ͽ��ж�
2004 Sep 22
2
[LLVMdev] What differents between llvm-gcc and gnu
Hi, When I compile httpd-2.0, llvmgcc reports many struct types and macros undeclared, but gnu-gcc can compile httpd-2.0 completely.
2004 Jul 12
0
[LLVMdev] Adding type qualifies or property
Xia, LLVM doesn't really use type qualifiers the way you're thinking about it. In LLVM parlance, types are neither const nor non-const, they just define the fundamental nature of a value. However, LLVM fully supports Constant Values (see include/llvm/Constant.h) and constant global variables (see include/llvm/GlobalVariable.h). You might want to read up on the LLVM IR a bit here:
2004 Sep 14
1
[LLVMdev] How to get the PostDominanceFr
Hi, Chris I get a new PostDominanceFrontier class by combinating the code of PostDominanceSet/PostDominanceTree/PostDominanceFrontier FunctionPasses. It works very well. BTW: Why the PostDominanceFrontier FunctionPasses does not use the formal argument in runOnFunction(Function &)? Does it gets the Function from PassManager? Thank you. Xia >On Thu, 9 Sep 2004, xia_yimin wrote: >
2008 Dec 16
2
Yum messages: /usr/lib/liblzo.so.1 is not a symbolic link
Ran yum update this A.M. Got this. Is it a problem for rpmforge, CentOS or just me? Maybe not a problem at all? /etc/ld.so.conf.d files are "box stock", so there were no clues there. TIA for any insight. =================================================== Running Transaction Updating : cups-libs [ 1/10] /sbin/ldconfig: /usr/lib/liblzo.so.1 is
2004 Jul 11
2
[LLVMdev] Adding type qualifies or property
Hi Has anybody tell me how to create some new type qualifies in LVM? A type qualify, like "const" in C, is useful for program analysis. I hope that I can set/get the type qualify of any value in a program analysed. Or, if I could add a property to the value class and set/get the property, it is same to add some new type qualifies. So, I simply insert a "int" private
2009 May 04
1
AOC (advice of charge) current status.
> Hello everyone, > > I am trying to find out whether AOC (any of the 3 types) is currently supported by Asterisk and for which hardware combination. > > Does anyone know if? AOC info can be used in the CDR when the interface to the outside world is ISDN BRI (not pri) and the internal counterpart is an analog extension (dahdi, i guess)? What about sip or iax? > > I have found
2006 May 23
0
[LLVMdev] Indirect function call
On Tue, 2006-05-23 at 13:32 +0800, Nai Xia wrote: > 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
2004 Aug 06
1
[LLVMdev] Why I cannot use PgmDependenceGraph?
I want to find buffer overflows from general C programs, a bit like SAFECode :). To quicken the dataflow analysis, I wished to slice operands of character strings from C program using pgmdepgraph, but now, I thought I have to use def-use and use-def chain. Do you think it has any sense? Xia ______________________________________ ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html ��
2004 Aug 11
1
[LLVMdev] What meaning is the argument?
Hi I hope to use the getAliasSetForPointer(Value *p, unsigned size), the method of AliasSetTracker class, but I donot known what meaning is the argument "size". May somebody tell me? Thanks. Xia ______________________________________ ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html �� ===================================================================
2004 Aug 24
1
[LLVMdev] How to use DSAA?
I can use the interfaces of AliasAnalysis in my pass, but how to specify the underlaying pass of AliasAnalysis is DSAA? Thanks. Xia ______________________________________ ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html �� =================================================================== 15��HPѸ�۱ʼDZ���ǧԪ,����ǧԪ������� (http://ad4.sina.com.cn/wx/ads/hpzhui823.html)
2004 Sep 09
1
[LLVMdev] How to get the PostDominanceFrontier?
When analysing a function "fn", my FunctionPass needs some PostDominanceFrontier information of functions which are called by function "fn". getAnalysis<PostDominanceFrontier>() cannot give the information, because it only gives the PostDominanceFrontier information of "fn", not the PostDominanceFrontier information of functions called by "fn".
2004 Sep 22
1
[LLVMdev] What differents between llvm-gcc and gnu
The llvm I using is llvm-1.2, its cfrontend should be based on gcc-3.4, the system I using is RedHat Linux 9.0, I desire to compile httpd-2.0.51. Xia ______________________________________ ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html �� =================================================================== ��ɽ��կ���������������ջ�֮�ã�
2007 Mar 27
1
AOC billing
Hello, is there someone who knows if I can use AOC for billing in Asterisk? I mean: let's say I have an external SIP device that produces AOC data. This device connects me to the telco network. Can Asterisk, if connected via SIP with this device, collect AOC data and put it in the CDR records? If not, which is the right way to use AOC for billing? Thanks a lot Stefano Corsi -- Stefano
2004 Aug 06
1
[LLVMdev] Why I cannot use PgmDependenceGraph?
I want to use PgmDependenceGraph pass , but my pass cannot work with PgmDependenceGraph. I tried again in Hello2 pass, and it could not work also. The following is I did with llvm/lib/Transforms/Hello.cpp: 1.insert #include "llvm/Analysis/PgmDependenceGraph.h" in Hello.cpp. 2.insert AU.addRequired<PgmDependenceGraph>() in the getAnalysisUsage(AnalysisUsage &AU) of Hello2.
2004 Feb 22
0
/sbin/ldconfig: /usr/lib/ is not a symbolic link on fedora 1
I am tring to install wine-20040213-1fc1winehq.i386.rpm into fedora 1 on a celeron 500. When I install it it gives an error: /sbin/ldconfig: /usr/lib/ is not a symbolic link It still installs something and when I try to run a windows app I get this error: err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available - security-patched kernel ? wine: could not load
2011 Jul 03
7
Age of Conan, Wine 1.3.23, Mac OS 10.6.7 ?
Age of Conan went free-to-play (sort of) recently, and I thought I'd give it a look. The AppDB entry and a search of bugs seems to indicate that it should mostly work except for some texture problems, but I can't seem to get past the installation. Configuration: * Mac OS X 10.6.7 * Wine 1.3.23 * Age of Conan web installer Process: * Created fresh WINEPREFIX by: "wine notepad"
2001 Jun 10
2
Vorbis lib can't find ogg on RH6.2
Hi, I installed libogg-1.0beta4.tar.gz on a Cobalt server (Red Hat 6.2) and also installed libao-0.6.0.tar.gz for good measure. I just did a plain ./configure make make install When I come to install libvorbis-1.0beta4 I get *** Could not run Ogg test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding Ogg or