Displaying 6 results from an estimated 6 matches for "apr_snprintf".
2006 Mar 30
3
[LLVMdev] Running LLVM Analysis on real-world projects.
...iles) generated by
llvm-gcc?
Following is the sample output when I attempt to compile httpd with
above mentioned setup.
/bin/sh /httpd-2.0.55/srclib/apr/libtool --silent --mode=compile
llvm-gcc -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I../include -I../include/arch/unix -c apr_snprintf.c && touch
apr_snprintf.lo
In file included from apr_snprintf.c:22:
../include/apr_network_io.h:122: error: redefinition of `struct in_addr'
make[4]: *** [apr_snprintf.lo] Error 1
However, this source compiles fine with gcc32 and gcc4
2006 Mar 30
0
[LLVMdev] Running LLVM Analysis on real-world projects.
...se of an automated testing
framework for external packages, I can post it for people to play around
with.
> /bin/sh /httpd-2.0.55/srclib/apr/libtool --silent --mode=compile
> llvm-gcc -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -I../include -I../include/arch/unix -c apr_snprintf.c && touch
> apr_snprintf.lo
> In file included from apr_snprintf.c:22:
> ../include/apr_network_io.h:122: error: redefinition of `struct in_addr'
> make[4]: *** [apr_snprintf.lo] Error 1
>
> However, this source compiles fine with gcc32 and gcc4
We also had some pro...
2006 Mar 31
1
[LLVMdev] Running LLVM Analysis on real-world projects.
...t; framework for external packages, I can post it for people to play around
> with.
>
> > /bin/sh /httpd-2.0.55/srclib/apr/libtool --silent --mode=compile
> > llvm-gcc -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> > -I../include -I../include/arch/unix -c apr_snprintf.c && touch
> > apr_snprintf.lo
> > In file included from apr_snprintf.c:22:
> > ../include/apr_network_io.h:122: error: redefinition of `struct in_addr'
> > make[4]: *** [apr_snprintf.lo] Error 1
> >
> > However, this source compiles fine with gcc32 a...
2011 Mar 25
1
[LLVMdev] Instrumentation with liblto and gold
...cc -use-gold-plugin -pthread -O4 -DHAVE_CONFIG_H -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -I./include -I../include -version-info 9:5:9
-L/home/sangmin/Dropbox/Falcon/bin/ -ldummy -o libapr-0.la -rpath
/home/sangmin/Concurrency/apache-25520-llvm//lib strings/apr_cpystrn.lo
strings/apr_fnmatch.lo strings/apr_snprintf.lo <skip>
collect2: ld terminated with signal 6 [Aborted]
ld:
/home/sangmin/Dropbox/Falcon/src/llvm-2.7/include/llvm/Support/Casting.h:200:
typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X =
llvm::Instruction, Y = llvm::Value*]: Assertion `isa<X>(Val)...
2011 Mar 24
0
[LLVMdev] Instrumentation with liblto and gold
On 3/24/11 6:23 PM, Sangmin Park wrote:
> Hi,
>
> I need advice in instrumenting programs using liblto and gold plugin.
> Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
> My pass inserts functions (myLoad and myStore) for some load and store
> instructions.
> The functions exist in a library file.
>
> I found that the approach works for the example in
2011 Mar 24
2
[LLVMdev] Instrumentation with liblto and gold
Hi,
I need advice in instrumenting programs using liblto and gold plugin.
Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
My pass inserts functions (myLoad and myStore) for some load and store
instructions.
The functions exist in a library file.
I found that the approach works for the example in the link:
http://llvm.org/docs/GoldPlugin.html
$ llvm-gcc -flto a.c -c -o a.o
$ ar q