I've been doing make -j70 and -j70 restrap and libasan seems to build 1 file at
a time. I'm chasing other bits right now, so I didn't track down what did it.
I looked at how it is wired up and didn't just spot it, and it seems to copy
other runtime libraries we have. Not sure if they suffer t
On Mon, Dec 16, 2013 at 12:04:09PM -0800, Mike Stump wrote:
> I've been doing make -j70 and -j70 restrap and libasan seems to build 1 file
> at a time.
That is certainly not the case, look more carefully and you'll note that it
will start compiling tons of sources at once, the problem is just tha
Hi Guys,
I am writing a GIMPLE pass in which I need to inspect the assignments.
For example, for the below statements, I need to find the value of the
second and third assignments which are '2' and '7'.
VAR1 = 1;
VAR1++;
VAR1 = VAR1 + 5;
But the GIMPLE IR only has the following statements i.e. n
Hi,
Can someone please point out some tutorials for writing IPA passes in
GCC? I am struggling to achieve assignment calculations in GIMPLE pass
and I feel that an IPA pass can solve the issue. I don't have much
idea about IPA passes (simple_ipa_opt_pass or ipa_opt_pass) but can
learn and figure t
On Mon, 2013-12-16 at 16:10 -0500, Sandeep K Chaudhary wrote:
> Hi Guys,
>
> I am writing a GIMPLE pass in which I need to inspect the assignments.
> For example, for the below statements, I need to find the value of the
> second and third assignments which are '2' and '7'.
>
> VAR1 = 1;
> VAR1++
FTR, LLVM build system takes 6 seconds to build asan&tsan run-time
(well, I have a good machine).
% date; ninja libclang_rt.asan-x86_64.a libclang_rt.asan-i386.a
libclang_rt.tsan-x86_64.a; date
Tue Dec 17 08:34:14 MSK 2013
[126/126] Linking CXX static library
lib/clang/3.5/lib/linux/libclang_rt.tsa
Thank you so much for the reply, David !
I am not sure where exactly my pass gets invoked. I will try to find it.
But the pass get invoked somewhere in the GIMPLE stage as shown in the
GCC architecture[1].
How is it that one can dictate where the pass can be invoked? Can you
please provide some po
You may also want to go through the slides at
http://www.cse.iitb.ac.in/grc/gcc-workshop-13/index.php?page=slides.
In particular,
http://www.cse.iitb.ac.in/grc/gcc-workshop-13/downloads/slides/Day1/gccw13-gimple-manipulation.pdf
and
http://www.cse.iitb.ac.in/grc/gcc-workshop-13/downloads/slid
On Tue, Dec 17, 2013 at 08:45:13AM +0400, Konstantin Serebryany wrote:
> Indeed, the compile time is dominated by asan_interceptors.cc:
> % touch ~/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc
> % date; ninja libclang_rt.asan-x86_64.a libclang_rt.asan-i386.a ; date
> Tue Dec 17 08:39:38
Thank you so much, Prof. Khedkar !
I will go through the slides and other resources that you pointed out.
GRC workshops/tutorials are great. These helped me get started with
GCC when I knew almost nothing about GCC internals.
I will get back with specific queries (if any) after going through thes
10 matches
Mail list logo