search for: jinwook

Displaying 13 results from an estimated 13 matches for "jinwook".

2011 Aug 19
2
[LLVMdev] running a module pass via opt on multiple bitcode files
...ing a shared object implementation with opt. Which would be the ideal approach to analyze a program with a module pass? Thanks. From: John Criswell <criswell at illinois.edu<mailto:criswell at illinois.edu>> Organization: University of Illinois Date: Tue, 12 Jul 2011 16:19:06 -0500 To: Jinwook Shin <Jinwook.Shin at microsoft.com<mailto:Jinwook.Shin at microsoft.com>> Cc: "llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>" <llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>> Subject: Re: [LLVMdev] running a module pass via opt on multiple bit...
2011 Aug 19
0
[LLVMdev] running a module pass via opt on multiple bitcode files
On 8/19/11 4:36 PM, Jinwook Shin (HOTWING) wrote: > > Thanks John. Your approach worked fine for my small toy program. Now, > I would like to run my module pass on a huge project (still a single > executable) consisting of a few thousand bit code files scattered in > many different directories. And some of t...
2011 Sep 22
2
[LLVMdev] running a module pass via opt on multiple bitcode files
...les in your target project and change CC and CFLAGS as follows: CC=llvm-gcc CFLAGS=-emit-llvm … 5) Build the project with LLVM. From: John Criswell <criswell at illinois.edu<mailto:criswell at illinois.edu>> Organization: University of Illinois Date: Fri, 19 Aug 2011 17:00:14 -0500 To: Jinwook Shin <Jinwook.Shin at microsoft.com<mailto:Jinwook.Shin at microsoft.com>> Cc: "llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>" <llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>> Subject: Re: [LLVMdev] running a module pass via opt on multiple bit...
2011 Oct 09
2
[LLVMdev] interprocedural static backwards slicing
Thanks John. I appreciate your help and I look forward to obtaining the code. A proper LLVM sub-project: No rush on this and please take your time. Thanks. - Jin -----Original Message----- From: Criswell, John T [mailto:criswell at illinois.edu] Sent: Saturday, October 08, 2011 11:58 AM To: Jinwook Shin; llvmdev at cs.uiuc.edu Subject: RE: interprocedural static backwards slicing Dear Jin, I've talked with Vikram, and we agree that having this code (and a dynamic backwards slicing pass that Swarup and I wrote) in a publicly available SVN repository is a good thing. I'll try to get...
2011 Oct 08
0
[LLVMdev] interprocedural static backwards slicing
...ht away. I can work on making a proper LLVM sub-project (ala http://llvm.org/docs/Projects.html) later, although I don't know exactly when I can get to that (I've got some important work priorities to contend with in mid-October). -- John T. ________________________________________ From: Jinwook Shin [Jinwook.Shin at microsoft.com] Sent: Thursday, October 06, 2011 12:59 PM To: Criswell, John T; llvmdev at cs.uiuc.edu Subject: interprocedural static backwards slicing Hello John et al - I have been struggling to implement static backwards slicing with LLVM. After digging llvmdev postings f...
2011 Oct 06
2
[LLVMdev] interprocedural static backwards slicing
Hello John et al - I have been struggling to implement static backwards slicing with LLVM. After digging llvmdev postings for some time, I see that other people were having similar difficulties and John's got almost complete code that may be shared. May I get a copy of it, too? Better yet, it would be helpful for many other people if the code were checked in to an example directory or
2011 Jul 12
0
[LLVMdev] running a module pass via opt on multiple bitcode files
On 7/12/11 4:11 PM, Jinwook Shin (HOTWING) wrote: > > Hi, > > I'm trying to implement a module pass as a share object to process an > entire program as a unit. The target program is built from multiple > object files, hence multiple bitcode files. However, it seems that opt > does not take the whol...
2011 Sep 22
0
[LLVMdev] running a module pass via opt on multiple bitcode files
On 9/22/11 4:04 PM, Jinwook Shin wrote: > Thanks John. I appreciate your help. De nada. > > I have taken the libLTO approach and it worked like a charm :) For > those who wanted to achieve the same thing, below are the steps I've > taken. > > John -- a small question: I thought I wouldn't nee...
2011 Jul 12
3
[LLVMdev] running a module pass via opt on multiple bitcode files
Hi, I'm trying to implement a module pass as a share object to process an entire program as a unit. The target program is built from multiple object files, hence multiple bitcode files. However, it seems that opt does not take the whole program, but just one bitcode file, "test.bc" in the example run shown below. $ opt -load mypass.dylib -mymodulepass < test.bc > /dev/null
2011 Oct 10
0
[LLVMdev] interprocedural static backwards slicing
On 10/9/11 12:12 AM, Jinwook Shin wrote: > Thanks John. I appreciate your help and I look forward to obtaining the code. > > A proper LLVM sub-project: No rush on this and please take your time. Thanks. Okay, I've created a new LLVM sub-project called Giri(*). It currently contains only the static backwards sli...
2011 Oct 11
2
[LLVMdev] interprocedural static backwards slicing
...c_rt.a make[2]: *** [/Users/username/llvm-2.7/llvm/projects/poolalloc/runtime/FL2Allocator/Rele ase/PoolAllocator.bc] Abort trap: 6 make[1]: *** [all] Error 1 make: *** [all] Error 1 On 10/10/11 9:30 AM, "John Criswell" <criswell at illinois.edu> wrote: >On 10/9/11 12:12 AM, Jinwook Shin wrote: >> Thanks John. I appreciate your help and I look forward to obtaining the >>code. >> >> A proper LLVM sub-project: No rush on this and please take your time. >>Thanks. > >Okay, I've created a new LLVM sub-project called Giri(*). It currently &gt...
2011 Oct 11
0
[LLVMdev] interprocedural static backwards slicing
On 10/11/11 5:05 PM, Jinwook Shin wrote: > Thanks John for the super quick checkin. I was a little surprised here. Creating a new project was easy, and it seemed the easiest way to send the code to you. :) > > Yesterday/today I spent some time trying to build poolalloc on my mac dev > machine. Unfortunately, it...
2013 May 21
1
[LLVMdev] a callback for opt plugin unloading event
Hello, My opt plugin contains multiple passes in it and each pass produces some results and saves them in a global data structure. $ opt -load myplugin.dylib -pass1 -pass2 -pass3 test.bc After all passes finish running, I need to flush out the collected results to a disk file. But I don't know when I can do it. Is there a way/callback for my plugin to know when opt is done with it?