Displaying 4 results from an estimated 4 matches for "__xray_instr_map_end".
2016 Jun 23
2
Building an array in a section from multiple object files
...k the start and the
other to mark the end). I'm trying to get this to work initially on x86 and
Linux (ELF).
What I've got currently in http://reviews.llvm.org/D19904 creates this
section (.xray_instr_map) and defines two globals in that section named
"__xray_instr_map" and "__xray_instr_map_end". The problem inevitably with
this approach is that having multiple object files have these definitions
cause issues with multiple definition violations at link time.
I *think* the solution involves having COMDAT sections per-function that
has the instrumentation points, then have those conca...
2016 Jun 23
2
Building an array in a section from multiple object files
...I'm trying to get this to work initially on x86 and
>> Linux (ELF).
>>
>> What I've got currently in http://reviews.llvm.org/D19904 creates this
>> section (.xray_instr_map) and defines two globals in that section named
>> "__xray_instr_map" and "__xray_instr_map_end". The problem inevitably with
>> this approach is that having multiple object files have these definitions
>> cause issues with multiple definition violations at link time.
>>
>> I *think* the solution involves having COMDAT sections per-function that
>> has the i...
2016 Jun 27
0
Building an array in a section from multiple object files
...t this to work initially on x86 and
>>> Linux (ELF).
>>>
>>> What I've got currently in http://reviews.llvm.org/D19904 creates this
>>> section (.xray_instr_map) and defines two globals in that section named
>>> "__xray_instr_map" and "__xray_instr_map_end". The problem inevitably with
>>> this approach is that having multiple object files have these definitions
>>> cause issues with multiple definition violations at link time.
>>>
>>> I *think* the solution involves having COMDAT sections per-function that
&g...
2016 Jun 27
1
Building an array in a section from multiple object files
...ally on x86 and
>>>> Linux (ELF).
>>>>
>>>> What I've got currently in http://reviews.llvm.org/D19904 creates this
>>>> section (.xray_instr_map) and defines two globals in that section named
>>>> "__xray_instr_map" and "__xray_instr_map_end". The problem inevitably with
>>>> this approach is that having multiple object files have these definitions
>>>> cause issues with multiple definition violations at link time.
>>>>
>>>> I *think* the solution involves having COMDAT sections per-...