search for: mingliang

Displaying 20 results from an estimated 32 matches for "mingliang".

2012 Nov 27
1
[LLVMdev] How to enable c++11 in a llvm project?
I've added the missing magic to Makefile.llvm.rules in r168685. On Tue, Nov 27, 2012 at 12:05 AM, Mingliang LIU <liuml07 at gmail.com> wrote: > Hi, > > I use the following line to configure, which can enable the c++11 in the > project building. However, I don't think it's an elegant way to do the > trick. > $ CXX="clang++ -std=c++11" ../configure > > I don...
2012 Nov 26
2
[LLVMdev] How to enable c++11 in a llvm project?
...nable-cxx11 However, I found that the clang++ did not build my project with the " -std=c++" option[1]. Could anyone kindly show me how to enable C++11 in a LLVM project, please? Thank you. Miangliang. [1] I get the detailed options building my project using 'make VERBOSE=1' -- Mingliang LIU (刘明亮 in Chinese) PACMAN Group, Dept. of Computer Science & Technology Tsinghua University, Beijing 100084, China Email: liuml07 at mails.tsinghua.edu.cn Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ -------------- next part -------------- An HTML attachment was scrubbed... URL: &lt...
2012 Nov 27
0
[LLVMdev] How to enable c++11 in a llvm project?
...++11 in the project building. However, I don't think it's an elegant way to do the trick. $ CXX="clang++ -std=c++11" ../configure I don't know why "-enable-cxx11" doesn't work as expected when I configure the project. Regards. On Mon, Nov 26, 2012 at 7:34 PM, Mingliang LIU <liuml07 at gmail.com> wrote: > Hi, > > I'm using the latest LLVM (r168491) built by GCC 4.7.2 (Gentoo masked > version). The clang++ runs as expected when I compile a hello program > with c++11 enabled. > > I created a project (copied from sample/) where there a...
2012 Dec 05
2
[LLVMdev] How to enable cbe as a supported target?
...y LLVM with default options, thus I supposed the 'cbe' should have been enabled as a supported target. Nevertheless, I tried to enable it explicitly: $ ../configure --enable-targets=cbe It occurred the error: "*configure: error: Unrecognized target cbe*" Any clue? Thank you. -- Mingliang LIU (刘明亮 in Chinese) PACMAN Group, Dept. of Computer Science & Technology Tsinghua University, Beijing 100084, China Email: liuml07 at mails.tsinghua.edu.cn Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ -------------- next part -------------- An HTML attachment was scrubbed... URL: &lt...
2012 Dec 06
2
[LLVMdev] How to enable cbe as a supported target?
...; (http://llvm.org/releases/3.1/docs/ReleaseNotes.html): > > "Major Changes and Removed Features > ... > The C backend has been removed. It had numerous problems, to the point > of not being able to compile any nontrivial program." > > On Wed, Dec 5, 2012 at 10:00 AM, Mingliang LIU <liuml07 at gmail.com> wrote: > > Hi all, > > > > I met an error when I run the llc command to transform a bitcode file to > C > > code (source to source): > > $ llc -march=c -o foo.c foo.ll > > However, it said "llc: error: invalid target '...
2012 Dec 05
0
[LLVMdev] How to enable cbe as a supported target?
The C Backend was remove in 3.1 (http://llvm.org/releases/3.1/docs/ReleaseNotes.html): "Major Changes and Removed Features ... The C backend has been removed. It had numerous problems, to the point of not being able to compile any nontrivial program." On Wed, Dec 5, 2012 at 10:00 AM, Mingliang LIU <liuml07 at gmail.com> wrote: > Hi all, > > I met an error when I run the llc command to transform a bitcode file to C > code (source to source): > $ llc -march=c -o foo.c foo.ll > However, it said "llc: error: invalid target 'c'." I checked the 'll...
2013 Apr 12
0
[LLVMdev] The line number range of a function in source code level
On 4/12/13 4:31 AM, Mingliang LIU wrote: > Hi all, > > I need to know the line number range of a function. The start of the > function line number can be found by the definition point, which is > stored at the subprogram metadata: DISubprogram::getLineNumber(). > > However, there is no API (or the metadat...
2013 Mar 17
2
[LLVMdev] How to slice the source code?
...A friend told me to parse the code using python to find the matching "}" (or END in Fortran) and delete them. I'd like to know if there is an LLVM way to do this. Any idea? Thank you! [1] http://en.wikipedia.org/wiki/Program_slicing [2] http://dl.acm.org/citation.cfm?id=802557 -- Mingliang LIU (刘明亮 in Chinese) PACMAN Group, Dept. of Computer Science & Technology Tsinghua University, Beijing 100084, China Email: liuml07 at mails.tsinghua.edu.cn Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ -------------- next part -------------- An HTML attachment was scrubbed... URL: &lt...
2013 Apr 12
3
[LLVMdev] The line number range of a function in source code level
...terate all the instructions from the beginning. It's supposed that we can iterate the instructions reversely and the first one who has attached metadata should be treated as the end of the function. Unfortunately, there is no reverse iterator of a function. Any idea? Thank you very much! -- Mingliang LIU (刘明亮 in Chinese) PACMAN Group, Dept. of Computer Science & Technology Tsinghua University, Beijing 100084, China Email: liuml07 at mails.tsinghua.edu.cn Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ -------------- next part -------------- An HTML attachment was scrubbed... URL: &lt...
2013 Mar 26
0
[LLVMdev] How to slice the source code?
...ject implements many source-to-source transformations of C programs, e.g. removing functions, changing variable names, deleting branches in if-statements, etc. Some of these are purely based on the source code, other use the Clang frontend. Hope this helps, Jonas On Sun, Mar 17, 2013 at 7:25 PM, Mingliang LIU <liuml07 at gmail.com> wrote: > Hi all, > > I'm doing the program slicing [1] in LLVM. Now I implemented the Weiser's > algorithm [2] in a simple way by writing a plugin to analyze the IR. My > final goal is to slice the source code, thus I recorded all the lines o...
2012 Nov 17
2
[LLVMdev] Interprocedural slicing using LLVM
...lvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > -- Mingliang LIU (刘明亮 in Chinese) PACMAN Group, Dept. of Computer Science & Technology Tsinghua University, Beijing 100084, China Email: liuml07 at mails.tsinghua.edu.cn Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ -------------- next part -------------- An HTML attachment was scrubbed... URL: &lt...
2013 Sep 11
2
[LLVMdev] Dynamic Analysis
Dear John, Now, I want to do dynamic analysis by dynamic slicing based on LLVM. I just see that you have implemented dynamic slicing for LLVM. I also check the Giri project, and I don't find the code. I hope I can learn something from your code. I am very appreciated if you can tell me how to get the code or send me one copy. Thank you very much! Pengfei -- View this message in context:
2013 Sep 19
0
[LLVMdev] Dynamic Analysis
...ifying Causal Execution Differences for Security Applicaitons - Dynamic Program Slicing - Precise Dynamic Slicing Algorithms - Using Likely Invariants for Automated Software Fault Localization Good luck! On Thu, Sep 19, 2013 at 9:57 PM, Sun, Pengfei <p.sun2 at umiami.edu> wrote: > Hi Mingliang, > > Yes, I have found your work and tried your code. It works very well. > Great Work! > > Your code is very helpful for me. I am very happy that you invite me to > join this open source project. I am very interesting in dynamic analysis > based on LLVM. However, currently,...
2012 Nov 20
0
[LLVMdev] Interprocedural slicing using LLVM
...low.h:67, is the code correct? I suppose it should be: > - std::vector<const Function *>::iterator FE = Targets.begin(); > --- > + std::vector<const Function *>::iterator FE = Targets.end(); Regards. L [1] https://github.com/jirislaby On Mon, Nov 19, 2012 at 1:46 PM, Mingliang LIU <liuml07 at gmail.com> wrote: > John, > > Thanks for your quick reply. > > Firstly, I'd like to employ a slicer for our benchmarking work (in one > word, reducing the long-time irrelevant computing). I find the giri project > and the LLVMSlicer[1]. However, the g...
2012 Dec 19
2
[LLVMdev] Can't compile Dragonegg
...lvmdev> >> > > ______________________________**_________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/**mailman/listinfo/llvmdev<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev> > -- Mingliang LIU (刘明亮 in Chinese) PACMAN Group, Dept. of Computer Science & Technology Tsinghua University, Beijing 100084, China Email: liuml07 at mails.tsinghua.edu.cn Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ -------------- next part -------------- An HTML attachment was scrubbed... URL: &lt...
2012 Dec 19
0
[LLVMdev] Can't compile Dragonegg
Hi Mingliang LIU, > I suggest add the id attribute for each <h2> tag in www/index.html. Thus we can > refer to the "Getting it" section in the dragonegg homepage page (the only web > page) by simply the given URL: > http://dragonegg.llvm.org#GettingIt this already works: http://dr...
2012 Dec 06
1
[LLVMdev] How to enable cbe as a supported target?
Hi Arnold, On 06/12/12 08:50, 陳韋任 (Wei-Ren Chen) wrote: > On Thu, Dec 06, 2012 at 10:05:03AM +0800, Mingliang LIU wrote: >> Hi Arnold, >> >> Thank you. I googled but missed the release notes. >> >> Regards. > > Someone else out there tried to bring cbe back. You can search the ML > archieve and reach them out. > That would be me. > Regards, > chenwj >...
2013 May 02
2
[LLVMdev] GSoC Proposal: Inter-Procedure Program Slicing in LLVM
...deployment. The dynamic slicing can help a lot since the input is the key factor to locate errors. We have not a concrete plan for this project, but the dynamic slicing is heavily needed. Regards. On Thu, May 2, 2013 at 8:00 AM, Sahoo, Swarup Kumar <ssahoo2 at illinois.edu>wrote: > Hi Mingliang, > > We already implemented an usable version of Dynamic Backward Slicing > as part of our ASPLOS paper. So, I think this will be a good idea to extend > this project. I will also be interested in mentoring you for this project. > Please let me know, if you need any help. > &g...
2012 Dec 06
0
[LLVMdev] How to enable cbe as a supported target?
On Thu, Dec 06, 2012 at 10:05:03AM +0800, Mingliang LIU wrote: > Hi Arnold, > > Thank you. I googled but missed the release notes. > > Regards. Someone else out there tried to bring cbe back. You can search the ML archieve and reach them out. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information...
2013 Dec 04
3
[LLVMdev] Quick doubt about IR
Hi, While looking over the IR generated by my source code, I came across the following: %arr = alloca [30 x i8], align 1 In the source code this particular line of code is represented by: int arr[30]; I was wondering how I could change the capacity of arr from 30 to any other integral value via a function-pass. I know that 'alloca' can be used for reserving space on stack; further,