Displaying 20 results from an estimated 71 matches for "profile_rt".
2011 Apr 28
0
[LLVMdev] Problem with compiling the runtime libary
Hi Chen
Applied your patch to cmakelists files in LLVM 2.9 release and build llvm
using Visual Studio 2008 successfully, but there is still no profile_rt.so.
I do have profile_rt of visual studio solution file and project file in
folder \llvm-2.9build\runtime\libprofile.
I also tried version2.9 form SVN and it has all necessary cmakelists
files now, but I still have same problem (no profile_rt.so).
Did I miss any step? Where is your profile_rt.so...
2011 Apr 27
3
[LLVMdev] Problem with compiling the runtime libary
Hi, Zhao
> I have checked out llvm 2.9. There is only one CMakeLists file in
Release or svn? I believe Nick has committed those CMake files into
svn. You can apply my patch to LVM 2.9 Release.
> "\llvm-2.9". and no CMakeLists file in folder either
> "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it?
As Nick said, libprofile
2011 Aug 01
2
[LLVMdev] profile.pl
Hi all
I want to use "'/home/llvm/src/utils/profile.pl' -edge sort.bc"
command, but i face this error:
Error opening '/usr/local/lib/profile_rt.so': /usr/local/lib/profile_rt.so:
cannot open shared object file: No such file or directory
-load request ignored.
LLVM ERROR: Program used external function 'llvm_start_edge_profiling' which
could not be resolved!
llvm-prof: Error opening 'llvmprof.out': No such file or dire...
2004 Oct 10
2
[LLVMdev] building LLVM (question about ELF class)
...-llvmgccdir=...
--enable-jit", I modified Makefile.config so it contains
CXX = g++ -mcpu=v9 -m64
CC := gcc -mcpu=v9 -m64
When I do gmaking, there is an error about ELF class:
-----------
gmake[2]: Entering directory
`/a/athena/uf24/zhou/research/llvm/src/runtime/libp
rofile'
...
Linking profile_rt dynamic debug library
ld: fatal: file
/a/athena/uf24/zhou/research/llvm/src/runtime/libprofile/Debug/.
libs/BasicBlockTracing.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
/a/athena/uf24/zhou/rese
arch/llvm/src/lib/Debug/.libs/libprofile_rt.so.0.0.0
collect2...
2008 Oct 25
0
[LLVMdev] trouble generating profile_rt.so
Hey all,
I want to run the profile.pl file in the utils folder but I am having trouble running the script because the profile_rt.so file is not generated properly.
So in order to generate that I am running make in the /runtime/libprofile. when I do that I get the following message.
llvm[0]: Linking Release Lodable Module profile_rt.so
llvm[0]: Compiling BasicBlockTracing.c for Release build (bytecode)
make: *** No rule to m...
2010 Oct 13
1
[LLVMdev] Compile or link error
Hello,
I am generating profile_rt.dll by perfoming 'make' in
$LLVM_SRC_DIR/runtime/libprofile. After make, I got the following error
messages.
llvm[0]: Linking Debug+Asserts Loadable Module profile_rt.dll
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/
llvm/runtime/libprofile/Debug+Asserts/...
2011 Aug 01
0
[LLVMdev] profile.pl
On 8/1/11 12:16 PM, neda 8664 wrote:
> Hi all
>
> I want to use "'/home/llvm/src/utils/profile.pl <http://profile.pl>' -edge sort.bc" command, but i face this error:
>
> Error opening '/usr/local/lib/profile_rt.so':
> /usr/local/lib/profile_rt.so: cannot open shared object file: No such
> file or directory
> -load request ignored.
> LLVM ERROR: Program used external function 'llvm_start_edge_profiling'
> which could not be resolved!
> llvm-prof: Error opening 'llvmpr...
2012 Jul 07
0
[LLVMdev] Problem in LLVM CMake modules
Eli Gottlieb <eligottlieb at gmail.com> writes:
> I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
> do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
> did a slight rewrite of my CMakeLists.txt file for building the C
> code.
>
> Problem is, cmake no longer finishes at all. I receive the
> following output, and then
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
...ects/LLVMProject/cmake-llvm$
*Result:*
> mdriftmeyer at horus:~/DeveloperProjects/LLVMProject/cmake-llvm$ make -j3
> Scanning dependencies of target LLVMHello
> [ 0%] Building CXX object
> lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o
> Scanning dependencies of target profile_rt-shared
> Scanning dependencies of target LLVMSupport
> [ 0%] Building C object
> runtime/libprofile/CMakeFiles/profile_rt-shared.dir/BasicBlockTracing.c.o
> In file included from
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/lib/Transforms/Hello/Hello.cpp:16:
> *...
2012 Jul 07
1
[LLVMdev] Problem in LLVM CMake modules
...hile(NOT "${expanded_components}" MATCHES "^${processed}(;)|(.*)")
list(REMOVE_AT processed -1)
endwhile()
list(LENGTH processed cursor)
However, using "all" as the component to be linked is still broken, as
it passes to the linker -lLTO_static and -lprofile_rt-static, which are
non-existant libraries on a static build.
On the case of LTO_static the fix probably is
diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt
index 9112976..60fc902 100644
--- a/tools/lto/CMakeLists.txt
+++ b/tools/lto/CMakeLists.txt
@@ -23,5 +23,4 @@ endif()
if( N...
2011 Apr 22
2
[LLVMdev] Problem with compiling the runtime libary
Hi All
Thanks for all replies regarding to my GCC problem.
I am trying to do profiling now and need to generate "profile_rt.so" file.
I compiled the runtime library using MAKE and tried on both Windows and Mac,
but the compiling can not be done properly. I got the following error
message:
------------------------------
make: Entering directory `C:/llvm/runtime'
../Makefile.config.in:59: *** Projects must define...
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
Hi again,
I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
did a slight rewrite of my CMakeLists.txt file for building the C code.
Problem is, cmake no longer finishes at all. I receive the
following output, and then it just runs forever (while still responding
to a CTRL-C):
> eli at
2011 Apr 22
0
[LLVMdev] Problem with compiling the runtime libary
yafan zhao wrote:
> Hi All
> Thanks for all replies regarding to my GCC problem.
> I am trying to do profiling now and need to generate "profile_rt.so"
> file. I compiled the runtime library using MAKE and tried on both
> Windows and Mac, but the compiling can not be done properly. I got the
> following error message:
> ------------------------------
> make: Entering directory `C:/llvm/runtime'
> ../Makefile.config.i...
2006 Nov 17
1
[LLVMdev] dump profiling data
..., Nico Moser wrote:
>> sorry but I can't found where the profiling data (llvmprof.out[?]) is
>> generated. Perhaps soembody has a hint for me?
>
> Take a look at how the llvm/utils/profile.pl script works.
In this script the lli command get the load-argument "somewhere/
profile_rt.so". But this library isn't build if I use llvm-gcc 4 for
the frontend. My question: Which library do I have to load instead of
profile_rt.so?
At the moment I only want to test with the given passes
(block,edge,function), so I have no own library.
$opt -q -f -insert-block-profiling...
2008 Jan 30
0
[LLVMdev] How to use profiling runtime for program profiling?
...g. I had to explicitly build
the runtime using 'make -C runtime install'.
You will also find the utils/profile.pl script useful, which passes
profiling options to opt for instrumenting the bytecode and calls lli
with the correct arguments and paths for loading the profiling library
profile_rt.so (which defines 'llvm_start_block_profiling' etc.)
Best regards,
Christian
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
...e run time library on a mac machine.
Yafan
On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> yafan zhao wrote:
>
>> Hi All
>> Thanks for all replies regarding to my GCC problem.
>> I am trying to do profiling now and need to generate "profile_rt.so"
>> file. I compiled the runtime library using MAKE and tried on both
>> Windows and Mac, but the compiling can not be done properly. I got the
>> following error message:
>> ------------------------------
>> make: Entering directory `C:/llvm/runtime'
>&...
2008 Jan 30
3
[LLVMdev] How to use profiling runtime for program profiling?
Hi, all
I have a question about how to profile program with LLVM. When I tried
to compile the
instrumented version of program after using "-insert-block-profiling", I got
error complaining
" undefined reference to `llvm_start_block_profiling'.
I found that there is a "runtime"directory in llvm source directory
but in the Makefile, it said
llvm gcc 4 and above
2008 Nov 25
2
[LLVMdev] LLVM profiling
Hello,
My name is Rantao Chen and i am a student at the University of Maryland. I am
currently doing some research for a professor to do Basic Block profiling using
LLVM. I have set up the environment correctly and built the profile_rt.so shared
library, but i am having some problems using the LLVM profiling tools.
I run "opt -insert-function-profiling -insert-block-profiling input.bc -o
output.bc" and an output file generates correctly.
I have disassembled the output file and i can see that profiling code has been...
2009 Jul 22
4
[LLVMdev] Profiling in LLVM Patch Followup 1
...ications/aha benchmark in the llvm test-suite, and
> llvm-prof no longer prints any function information:
> --
> ddunbar at giles:aha$ opt -f Output/aha.linked.rbc -insert-edge-profiling -o foo.bc
> ddunbar at giles:aha$ llc foo.bc -o - | gcc -x assembler - -x none
> ~/llvm/Debug/lib/profile_rt.dylib
> ddunbar at giles:aha$ ./a.out
> ...
> ddunbar at giles:aha$ ~/llvm/Release/bin/llvm-prof foo.bc llvmprof.out
> [...]
First of all, you have to use the original bytecode file
(Output/aha.linked.bc) for use with llvm-prof like this:
$ ~/llvm/Release/bin/llvm-prof Output/aha.linke...
2009 Oct 20
2
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
...[2]: Compiling BlockProfiling.c for Release build (PIC)
> llvm[2]: Compiling CommonProfiling.c for Release build (PIC)
> llvm[2]: Compiling EdgeProfiling.c for Release build (PIC)
> llvm[2]: Compiling FunctionProfiling.c for Release build (PIC)
> llvm[2]: Linking Release Loadable Module profile_rt.dll
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> warning: cannot find entry symbol __cygwin_dll_entry at 12; defaulting to
> 61ec1000
> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
> BasicBlockTracing.o:BasicBlockTracing.c:(.text+0x36):
> und...