search for: liuml07

Displaying 20 results from an estimated 42 matches for "liuml07".

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't know why...
2012 Nov 26
2
[LLVMdev] How to enable c++11 in a llvm project?
...e 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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121126/9573e711/attachment.html>
2012 Nov 27
0
[LLVMdev] How to enable c++11 in a llvm project?
...t 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 are some C++ sour...
2012 Dec 05
2
[LLVMdev] How to enable cbe as a supported target?
...le 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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121206/c2da53a2/attachment.html>
2012 Dec 05
0
[LLVMdev] How to enable cbe as a supported target?
...s 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 'llc > --version...
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 Mar 17
2
[LLVMdev] How to slice the source code?
...w 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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130318/ba0f2a42/attachment.html>
2012 Dec 19
2
[LLVMdev] Can't compile Dragonegg
...u 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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121219/c7ca9cec/attachment.html>
2012 Dec 19
0
[LLVMdev] Can't compile Dragonegg
...s.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 <mailto:liuml07 at mails.tsinghua.edu.cn> > Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ > <http://pacman.cs.tsinghua.edu.cn/%7Eliuml07> > > > > _______________________________________________ > LLVM Developers mailing list > LLVM...
2013 Apr 12
3
[LLVMdev] The line number range of a function in source code level
...ttached 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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130412/114b2250/attachment.html>
2013 Mar 26
0
[LLVMdev] How to slice the source code?
...ny 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 of > source co...
2013 Sep 19
0
[LLVMdev] Dynamic Analysis
...this project for a while and hopefully more people will join it. Dr. Swarup and John will give us directions and suggestions (including coding reviews) if we meet challenges. Dr. Swarup also suggested some works we should do next. I shall maintain a TODO list in the wiki page<https://github.com/liuml07/giri/wiki/TODO>of this project. Thus you can pick up one and make improvements according to your interest and schedule. The most obvious one is to make the code work with latest LLVM 3.4. To get to know how the slicing passes work, there are sever papers for your information: - Differential Sl...
2013 Apr 12
0
[LLVMdev] The line number range of a function in source code level
...a that marks the line number of the end of the function. -- John T. > > 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 > <mailto:liuml07 at mails.tsinghua.edu.cn> > Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/ > <http://pacman.cs.tsinghua.edu.cn/%7Eliuml07> > > > _______________________________________________ > LLVM Developers mailing list > LL...
2014 Aug 18
2
[LLVMdev] generating a dynamic callgraph with llvm-prof
Yes, the latest version can be downloaded from here https://github.com/liuml07/giri . The LLVM instrumentation code is in TracingNoGiri.cpp<https://github.com/liuml07/giri/blob/master/lib/Giri/TracingNoGiri.cpp> file and runtime code in Tracing.cpp. You may need to delete other unnecessary instrumentation code which you don't need. Thanks, Swarup. _______________...
2012 Dec 06
2
[LLVMdev] How to enable cbe as a supported target?
.../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...
2012 Nov 17
2
[LLVMdev] Interprocedural slicing using LLVM
...gt; 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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121117/bbb47391/attachment.html>
2012 Nov 20
0
[LLVMdev] Interprocedural slicing using LLVM
...ode 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 giri doesn't...
2014 Jan 02
2
[LLVMdev] Tracing values in llvm IR
Hi Jin Huang, The updated Giri code is available at https://github.com/liuml07/giri<https://github.com/liuml07/giri.>. This will give you an idea of how to instrument the program to trace different values. You can modify the code to achieve your goals. -Swarup. ________________________________ From: Criswell, John T Sent: Thursday, January 02, 2014 2:12 PM To: Jin Hua...
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
...Jin Huang <54jin.huang at gmail.com> > Thank You ! John and Swarup. I have already downloaded the code! > > > > > 2014/1/3 Sahoo, Swarup Kumar <ssahoo2 at illinois.edu> > > Hi Jin Huang, >> >> The updated Giri code is available at https://github.com/liuml07/giri<https://github.com/liuml07/giri.>. >> This will give you an idea of how to instrument the program to trace >> different values. You can modify the code to achieve your goals. >> >> -Swarup. >> >> ------------------------------ >> *From:* Criswel...
2013 Apr 27
1
[LLVMdev] GSoC Proposal: Inter-Procedure Program Slicing in LLVM
Hi all, This is a GSoC 2013 proposal for LLVM project. Please see the formatted version at here: http://pacman.cs.tsinghua.edu.cn/~liuml07/files/gsoc2013-proposal-program-slicing.pdf Program slicing has been used in many applications, the criteria of which is a pair of statement and variables. I would like to write an inter-procedural program slicing pass in LLVM, which is able to calculate C program slices of source code effectively...