Displaying 20 results from an estimated 20 matches for "llvm_start_edge_profiling".
2008 Feb 07
2
[LLVMdev] Problems with instrumentation
Hi,
I'm trying to instrument llvm bytecodes using opt. I performed the following
commands:
llvm-gcc -g -emit-llvm test.c -c -o test.bc
opt -insert-edge-profiling test.bc -o output.bc
llc output.bc -o output.s
gcc output.s -o test.out
However, it can't find symbol llvm_start_edge_profiling.
/tmp/ccw7GH4c.o: In function `main':
/home/raul/LLVM/tests//test.c:8: undefined reference to
`llvm_start_edge_profiling'
collect2: ld returned 1 exit status
Does anybody know which is the problem?
I'm using LLVM 2.1 and LLVM-GCC 4.2 (both were built from SVN source code).
Thanks in...
2011 Apr 01
2
[LLVMdev] compiling bitccode to executable binary/LLI
...n executable in the native program.
I was trying an instrumentation transform with the following workflow
opt -insert-edge-profiling input.bc -o output.bc
and then try and execute output.bc using
lli output.bc
however the program gives the following error : Program used external
function 'llvm_start_edge_profiling' which could not be resolved!.
Could anyone guide me to the correct workflow for doing such transforms and
then executing them?
Thanks
Nipun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110401/a643e3...
2011 Aug 01
2
[LLVMdev] profile.pl
.../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 directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110801/92e1f18b/attachment.html>
2008 Feb 07
0
[LLVMdev] Problems with instrumentation
Hi,
> llvm-gcc -g -emit-llvm test.c -c -o test.bc
> opt -insert-edge-profiling test.bc -o output.bc
> llc output.bc -o output.s
> gcc output.s -o test.out
>
> However, it can't find symbol llvm_start_edge_profiling.
-insert-edge-profiling inserts call to the llvm_start_edge_profiling
function which is a part of a profiling runtime library. This library
must be linked into your executable.
The runtime library isn't built automatically. To build it, please, run
make in the $LLVMOBJDIR/runtime directory. I...
2011 Apr 01
0
[LLVMdev] compiling bitccode to executable binary/LLI
...s trying an instrumentation transform with the following workflow
>
> opt -insert-edge-profiling input.bc -o output.bc
>
> and then try and execute output.bc using
>
> lli output.bc
>
> however the program gives the following error : Program used external
> function 'llvm_start_edge_profiling' which could not be resolved!.
>
> Could anyone guide me to the correct workflow for doing such transforms and
> then executing them?
>
> Thanks
> Nipun
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llv...
2013 Mar 14
2
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...r.
But with the latest codebase, here is what I saw
00000000000000a8 T llvm_start_basic_block_tracing
0000000000000067 T llvm_trace_basic_block
0000000000000467 T llvm_decrement_path_count
000000000000042a T llvm_increment_path_count
0000000000000662 T llvm_start_path_profiling
0000000000000020 T llvm_start_edge_profiling
0000000000000020 T llvm_start_opt_edge_profiling
Thanks again,
Qun
On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Qun Fa wrote:
>
>> Hi,
>> I am trying to test my project and get the code coverage with a version
>> of clang compiler that...
2013 Mar 15
2
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...>> 00000000000000a8 T llvm_start_basic_block_tracing
>> 0000000000000067 T llvm_trace_basic_block
>> 0000000000000467 T llvm_decrement_path_count
>> 000000000000042a T llvm_increment_path_count
>> 0000000000000662 T llvm_start_path_profiling
>> 0000000000000020 T llvm_start_edge_profiling
>> 0000000000000020 T llvm_start_opt_edge_profiling
>>
>> Thanks again,
>> Qun
>>
>> On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
>>
>>> Qun Fa wrote:
>>>
>>>> Hi,
>>>> I am trying...
2013 Mar 14
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...here is what I saw
>
> 00000000000000a8 T llvm_start_basic_block_tracing
> 0000000000000067 T llvm_trace_basic_block
> 0000000000000467 T llvm_decrement_path_count
> 000000000000042a T llvm_increment_path_count
> 0000000000000662 T llvm_start_path_profiling
> 0000000000000020 T llvm_start_edge_profiling
> 0000000000000020 T llvm_start_opt_edge_profiling
>
> Thanks again,
> Qun
>
> On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
>
>> Qun Fa wrote:
>>
>>> Hi,
>>> I am trying to test my project and get the code coverag...
2013 Jun 24
2
[LLVMdev] Questions on writing a pass that adds instrumentation code
I'm an LLVM newbie, trying to write a pass that adds instrumentation to
a program, and have a couple of questions.
For purposes of this discussion, suppose I'm trying to add a
per-function counter that is incremented each time a function is called.
At the end of the target program's execution, I would like to output the
value of each counter.
My questions are as follows:
1.
2013 Mar 19
2
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...asic_block_tracing
>>>> 0000000000000067 T llvm_trace_basic_block
>>>> 0000000000000467 T llvm_decrement_path_count
>>>> 000000000000042a T llvm_increment_path_count
>>>> 0000000000000662 T llvm_start_path_profiling
>>>> 0000000000000020 T llvm_start_edge_profiling
>>>> 0000000000000020 T llvm_start_opt_edge_profiling
>>>>
>>>> Thanks again,
>>>> Qun
>>>>
>>>> On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
>>>>
>>>>> Qun Fa wrote...
2013 Mar 15
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...000a8 T llvm_start_basic_block_tracing
>>> 0000000000000067 T llvm_trace_basic_block
>>> 0000000000000467 T llvm_decrement_path_count
>>> 000000000000042a T llvm_increment_path_count
>>> 0000000000000662 T llvm_start_path_profiling
>>> 0000000000000020 T llvm_start_edge_profiling
>>> 0000000000000020 T llvm_start_opt_edge_profiling
>>>
>>> Thanks again,
>>> Qun
>>>
>>> On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
>>>
>>>> Qun Fa wrote:
>>>>
>>>&...
2013 Mar 25
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...gt;>>>> 0000000000000067 T llvm_trace_basic_block
>>>>> 0000000000000467 T llvm_decrement_path_count
>>>>> 000000000000042a T llvm_increment_path_count
>>>>> 0000000000000662 T llvm_start_path_profiling
>>>>> 0000000000000020 T llvm_start_edge_profiling
>>>>> 0000000000000020 T llvm_start_opt_edge_profiling
>>>>>
>>>>> Thanks again,
>>>>> Qun
>>>>>
>>>>> On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
>>>>>
>&...
2013 Mar 25
1
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...gt; 0000000000000067 T llvm_trace_basic_block
>>>>>> 0000000000000467 T llvm_decrement_path_count
>>>>>> 000000000000042a T llvm_increment_path_count
>>>>>> 0000000000000662 T llvm_start_path_profiling
>>>>>> 0000000000000020 T llvm_start_edge_profiling
>>>>>> 0000000000000020 T llvm_start_opt_edge_profiling
>>>>>>
>>>>>> Thanks again,
>>>>>> Qun
>>>>>>
>>>>>> On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca>wrote:
>...
2011 Apr 01
1
[LLVMdev] compiling bitccode to executable binary/LLI
...m with the following workflow
>>
>> opt -insert-edge-profiling input.bc -o output.bc
>>
>> and then try and execute output.bc using
>>
>> lli output.bc
>>
>> however the program gives the following error : Program used external
>> function 'llvm_start_edge_profiling' which could not be resolved!.
>>
>> Could anyone guide me to the correct workflow for doing such transforms
>> and then executing them?
>>
>> Thanks
>> Nipun
>
>
> _______________________________________________
> LLVM Developers mailing list
>...
2011 Aug 01
0
[LLVMdev] 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 directory
I haven't used profile.pl myself, but looking at the error, it looks
like there's a run-time library (profile_rt.so) that it's looking for in
/usr/local/lib but can...
2013 Mar 14
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
Qun Fa wrote:
> Hi,
> I am trying to test my project and get the code coverage with a version
> of clang compiler that was built from the latest llvm/clang codebase.
>
> It worked for a while. But today, after I updated my local checkout, and
> re-build llvm, clang and compiler-rt, when I test my project again, I
> got the errors with undefined reference to
2013 Mar 14
3
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
Hi,
I am trying to test my project and get the code coverage with a version of
clang compiler that was built from the latest llvm/clang codebase.
It worked for a while. But today, after I updated my local checkout, and
re-build llvm, clang and compiler-rt, when I test my project again, I got
the errors with undefined reference to 'llvm_gcda_start_file',
'llvm_gcda_emit_arcs',
2011 Apr 05
0
[LLVMdev] instrument a byte code with llvm
On 4/5/11 11:36 AM, Nabila ABDESSAIED wrote:
>
>
> 2011/4/5 John Criswell <criswell at illinois.edu
> <mailto:criswell at illinois.edu>>
>
> On 4/5/11 11:22 AM, Nabila ABDESSAIED wrote:
>> hi,
>> I'm newer in llvm
>> i would like to instrument a byte code with a pass and as a
>> result i would like to get an
2011 Apr 05
4
[LLVMdev] instrument a byte code with llvm
hi,
I'm newer in llvm
i would like to instrument a byte code with a pass and as a result i would
like to get an instrumented byte code.
i would like that a pass add a method (which calculate the number of
instructions) in the end of each block.
the instrumented code should contain in each block a method that calculate
the number of instructions
Please Help me
thank you
--
Nabila ABDESSAIED
2013 Mar 15
0
[LLVMdev] Problems about developing LLVM pass on windows visual studio
...gt; 00000000000000a8 T llvm_start_basic_block_tracing
> > 0000000000000067 T llvm_trace_basic_block
> > 0000000000000467 T llvm_decrement_path_count
> > 000000000000042a T llvm_increment_path_count
> > 0000000000000662 T llvm_start_path_profiling
> > 0000000000000020 T llvm_start_edge_profiling
> > 0000000000000020 T llvm_start_opt_edge_profiling
> >
> > Thanks again,
> > Qun
> >
> > On Thu, Mar 14, 2013 at 1:11 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> >
> >> Qun Fa wrote:
> >>
> >>> Hi,
> >>>...