Displaying 11 results from an estimated 11 matches for "llvm_gcda_emit_function".
Did you mean:
_llvm_gcda_emit_function
2013 Mar 14
3
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...s 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', 'llvm_gcda_emit_function', and 'llvm_gcda_end_file'.
I have searched the codebase, and have found the functions are defined in
GCDAProfiling.c file, but not sure why this suddenly doesn't work for me.
Anyone can give any suggestions?
Thanks very much in advance.
Qun
-------------- next part -------------...
2013 Mar 14
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...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', 'llvm_gcda_emit_function', and 'llvm_gcda_end_file'.
>
> I have searched the codebase, and have found the functions are defined
> in GCDAProfiling.c file, but not sure why this suddenly doesn't work for me.
>
> Anyone can give any suggestions?
Those symbols should be provided by
compiler-rt...
2013 Mar 14
2
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...against?
I am currently linking libprofile_rt.a.
And I have noticed the differences that, if we do
`nm libprofile_rt.a | grep llvm`
with my old copy of the llvm/clang installation, I can see
00000000000005e0 T _llvm_gcda_emit_arcs
0000000000000b48 S _llvm_gcda_emit_arcs.eh
0000000000000430 T _llvm_gcda_emit_function
0000000000000aa8 S _llvm_gcda_emit_function.eh
00000000000006c0 T _llvm_gcda_end_file
0000000000000b98 S _llvm_gcda_end_file.eh
00000000000003d0 T _llvm_gcda_increment_indirect_counter
0000000000000a80 S _llvm_gcda_increment_indirect_counter.eh
0000000000000000 T _llvm_gcda_start_file
0000000000000...
2016 Apr 06
2
Writing a test for gcov style coverage crashing after dlclose
...to work correctly with code using dlopen/dlclose to
load and unload shared libraries.
Each shared library must have its own copy of the following GCDA functions:
- __gcov_flush
- llvm_delete_flush_function_list
- llvm_delete_writeout_function_list
- llvm_gcda_emit_arcs
- llvm_gcda_emit_function
- llvm_gcda_end_file
- llvm_gcda_increment_indirect_counter
- llvm_gcda_start_file
- llvm_gcda_summary_info
- llvm_gcov_init
- llvm_register_flush_function
- llvm_register_writeout_function
- llvm_writeout_files
Defining these function as "hidden"...
2013 Mar 15
2
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...d the differences that, if we do
>>
>> `nm libprofile_rt.a | grep llvm`
>>
>> with my old copy of the llvm/clang installation, I can see
>>
>> 00000000000005e0 T _llvm_gcda_emit_arcs
>> 0000000000000b48 S _llvm_gcda_emit_arcs.eh
>> 0000000000000430 T _llvm_gcda_emit_function
>> 0000000000000aa8 S _llvm_gcda_emit_function.eh
>> 00000000000006c0 T _llvm_gcda_end_file
>> 0000000000000b98 S _llvm_gcda_end_file.eh
>> 00000000000003d0 T _llvm_gcda_increment_indirect_counter
>> 0000000000000a80 S _llvm_gcda_increment_indirect_counter.eh
>>...
2013 Mar 14
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...t.a.
>
> And I have noticed the differences that, if we do
>
> `nm libprofile_rt.a | grep llvm`
>
> with my old copy of the llvm/clang installation, I can see
>
> 00000000000005e0 T _llvm_gcda_emit_arcs
> 0000000000000b48 S _llvm_gcda_emit_arcs.eh
> 0000000000000430 T _llvm_gcda_emit_function
> 0000000000000aa8 S _llvm_gcda_emit_function.eh
> 00000000000006c0 T _llvm_gcda_end_file
> 0000000000000b98 S _llvm_gcda_end_file.eh
> 00000000000003d0 T _llvm_gcda_increment_indirect_counter
> 0000000000000a80 S _llvm_gcda_increment_indirect_counter.eh
> 0000000000000000 T _llvm...
2013 Mar 19
2
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...t; `nm libprofile_rt.a | grep llvm`
>>>>
>>>> with my old copy of the llvm/clang installation, I can see
>>>>
>>>> 00000000000005e0 T _llvm_gcda_emit_arcs
>>>> 0000000000000b48 S _llvm_gcda_emit_arcs.eh
>>>> 0000000000000430 T _llvm_gcda_emit_function
>>>> 0000000000000aa8 S _llvm_gcda_emit_function.eh
>>>> 00000000000006c0 T _llvm_gcda_end_file
>>>> 0000000000000b98 S _llvm_gcda_end_file.eh
>>>> 00000000000003d0 T _llvm_gcda_increment_indirect_counter
>>>> 0000000000000a80 S _llvm_gcda...
2013 Mar 15
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...>>>
>>> `nm libprofile_rt.a | grep llvm`
>>>
>>> with my old copy of the llvm/clang installation, I can see
>>>
>>> 00000000000005e0 T _llvm_gcda_emit_arcs
>>> 0000000000000b48 S _llvm_gcda_emit_arcs.eh
>>> 0000000000000430 T _llvm_gcda_emit_function
>>> 0000000000000aa8 S _llvm_gcda_emit_function.eh
>>> 00000000000006c0 T _llvm_gcda_end_file
>>> 0000000000000b98 S _llvm_gcda_end_file.eh
>>> 00000000000003d0 T _llvm_gcda_increment_indirect_counter
>>> 0000000000000a80 S _llvm_gcda_increment_indirect_...
2013 Mar 25
0
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...grep llvm`
>>>>>
>>>>> with my old copy of the llvm/clang installation, I can see
>>>>>
>>>>> 00000000000005e0 T _llvm_gcda_emit_arcs
>>>>> 0000000000000b48 S _llvm_gcda_emit_arcs.eh
>>>>> 0000000000000430 T _llvm_gcda_emit_function
>>>>> 0000000000000aa8 S _llvm_gcda_emit_function.eh
>>>>> 00000000000006c0 T _llvm_gcda_end_file
>>>>> 0000000000000b98 S _llvm_gcda_end_file.eh
>>>>> 00000000000003d0 T _llvm_gcda_increment_indirect_counter
>>>>> 000000000...
2013 Mar 25
1
[LLVMdev] undefined reference to 'llvm_gcda_start_file', 'llvm_gcda_emit_arcs', etc
...>>>
>>>>>> with my old copy of the llvm/clang installation, I can see
>>>>>>
>>>>>> 00000000000005e0 T _llvm_gcda_emit_arcs
>>>>>> 0000000000000b48 S _llvm_gcda_emit_arcs.eh
>>>>>> 0000000000000430 T _llvm_gcda_emit_function
>>>>>> 0000000000000aa8 S _llvm_gcda_emit_function.eh
>>>>>> 00000000000006c0 T _llvm_gcda_end_file
>>>>>> 0000000000000b98 S _llvm_gcda_end_file.eh
>>>>>> 00000000000003d0 T _llvm_gcda_increment_indirect_counter
>>>&g...
2013 Mar 15
0
[LLVMdev] Problems about developing LLVM pass on windows visual studio
...fferences that, if we do
> >
> > `nm libprofile_rt.a | grep llvm`
> >
> > with my old copy of the llvm/clang installation, I can see
> >
> > 00000000000005e0 T _llvm_gcda_emit_arcs
> > 0000000000000b48 S _llvm_gcda_emit_arcs.eh
> > 0000000000000430 T _llvm_gcda_emit_function
> > 0000000000000aa8 S _llvm_gcda_emit_function.eh
> > 00000000000006c0 T _llvm_gcda_end_file
> > 0000000000000b98 S _llvm_gcda_end_file.eh
> > 00000000000003d0 T _llvm_gcda_increment_indirect_counter
> > 0000000000000a80 S _llvm_gcda_increment_indirect_counter.eh
>...