search for: xia_yimin

Displaying 18 results from an estimated 18 matches for "xia_yimin".

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 Sep 14
1
[LLVMdev] How to get the PostDominanceFr
...f 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: > >> When analysing a function "fn", my FunctionPass needs some >> PostDominanceFrontier information of functions which are called by >> function "fn". > > Okay, first problem is that your algorithm does not qualify as a FunctionPass: it should...
2014 Mar 31
2
[LLVMdev] vmkit build failure of lots of "undefined reference"
Hi, I got lots of "undefined reference" when building vmkit. Anyone can help to give a solution? I download vmkit with "svn co http://llvm.org/svn/llvm-project/vmkit/trunk/", followed the instructions of "http://llvm.org/svn/llvm-project/vmkit/trunk/README.TXT", and built vmkit on ubuntu 13.10 x64 with sunjava 1.6.0_45 + llvm 3.3 + classpath 0.99 + gcc 4.8.1.
2004 Jul 12
0
[LLVMdev] Adding type qualifies or property
...nd constant global variables (see include/llvm/GlobalVariable.h). You might want to read up on the LLVM IR a bit here: http://llvm.cs.uiuc.edu/docs/GettingStarted.html http://llvm.cs.uiuc.edu/docs/ProgrammersManual.html http://llvm.cs.uiuc.edu/docs/LangRef.html Reid. On Sun, 2004-07-11 at 21:08, xia_yimin wrote: > 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 p...
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
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 Jul 20
0
[LLVMdev] Close the extension for lib functions?
On Tue, 20 Jul 2004, xia_yimin wrote: > 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? These come from the library: llvm/runtime/GCCLibraries/libc/ If you don't want them, just go into that directory, delet...
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 �� =================================================================== ��ɽ��կ���������������ջ�֮�ã�
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 Jul 13
0
[LLVMdev] Re: Adding type qualifies or property
On Mon, 2004-07-121 at 00:51, Reid Spencer wrote: //Xia, //Also, the error that you got in User::~User() looks more like a problem //in your pass than a problem with the members you added to the Value //class. I forgot to "make install" LLVM after "make" LLVM. After doing that, I can set the property which was adding in the Value class. //If you provide a full stack
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 Aug 17
0
[LLVMdev] What's the meaning of [0 x sbyte*]?
Yes! I should have looked this some days before, but I forgot it just now :). thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040817/95dd9fff/attachment.html>
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
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