Displaying 10 results from an estimated 10 matches for "dw_tag_call_site".
2019 Sep 11
3
Dwarf - 5 features in clang and llvm
...;< *ptr;
return *ptr + 5;
}
int main(int argc, char** argv){
int a = 4;
int* ptr_a = &a;
int b = func(ptr_a);
return 0;
}
commandline used --
bash$ clang++ -Xclang -femit-debug-entry-values -O2 -ggdb test.cpp
For this case-- these Tags are not emitted
DW_TAG_call_site, DW_TAG_call_site_paramter ..
only DW_AT_GNU_all_call_sites attribute is present.
+ @Djorde DW_TAG_call_site are supported using late MIR approach, are the
new Call Site related development will be supported via MIR. or their will
be a frontend level debug metadata support will be added.
Thanks!...
2019 Sep 10
2
Dwarf - 5 features in clang and llvm
...,
>
> Support for call-site related DWARF 5 tag/attributes is implemented very late, in the LLVM middle-end.
> Please note that there is also the IR-level flag (DIFlagAllCallsDescribed) that lowers to
> the DW_AT_call_all_calls.
>
> There is also support for call-site-parameter (DW_TAG_call_site_parameter) and the debug entry values
> (DW_OP_entry_value) related DWARF 5 symbols, but it is restricted by the CC1 option ‘-femit-debug-entry-values’,
> since the LLDB is still missing support for that.
Not for too long ;)
See https://reviews.llvm.org/D67410 <https://reviews.llvm.org/D...
2019 Sep 10
2
Dwarf - 5 features in clang and llvm
Hello All,
I was working on some dwarf-5 features and debugging optimized code support
in clang and llvm.
Noticed that, DW_TAG_call_site is supported in llvm middle-end. but clang
is not emitting these.
I was hoping, if someone could provide current status of these features and
current status of dwarf-5 features in clang and llvm.
That will be immensely helpful.
Thanks!
Sourabh.
-------------- next part --------------
An HTML atta...
2020 Jan 14
2
DebugInfo: Purpose of call site tags
Hey folks,
I'm trying to wrap my head around the implementation, purpose, and costs
involved in both the GCC-extension v4 and standard v5 DW_TAG_call_site,
call site parameters, addresses, etc.
So picking up from some of the design discussion in
https://reviews.llvm.org/D72489:
Me (Blaikie): I'm not sure why AT_call_return_pc would be needed at a tail
call site as the debugger must ignore it. As for emitting DW_AT_low_pc
under gdb tuning, I thi...
2020 Sep 01
4
[RFC] [DebugInfo] Using DW_OP_entry_value within LLVM IR
...n caller (call site) as well as on callee side; and the intention is to improve debugging user experience by using the functionality (especially in “optimized” code by turning “<optimized_out>” values into real values). The call site information includes info about call itself (described with DW_TAG_call_site) with corresponding children representing function arguments at the call site (described with DW_TAG_call_site_params). The most interesting DWARF attribute for us (here) is DW_AT_call_value which contains a DWARF expression which represents a value of the parameter at the time of the call. For the...
2020 Sep 01
2
[RFC] [DebugInfo] Using DW_OP_entry_value within LLVM IR
...as well as on callee side; and the intention
> is to improve debugging user experience by using the functionality (especially
> in “optimized” code by turning “<optimized_out>” values into real values). The
> call site information includes info about call itself (described with
> DW_TAG_call_site) with corresponding children representing function arguments
> at the call site (described with DW_TAG_call_site_params). The most interesting
> DWARF attribute for us (here) is DW_AT_call_value which contains a DWARF
> expression which represents a value of the parameter at the time of th...
2019 Feb 07
2
RFC: [DebugInfo] Improving Debug Information in LLVM to Recover Optimized-out Function Parameters
...unity and seek feedback in improving certain parts of our implementation.
References
[1]Jakub Jelínek and Roland McGrath. DWARF DW_OP_entry_value extension proposal. http://dwarfstd.org/ShowIssue.php? issue=100909.1.
[2 Jakub Jelínek, Roland McGrath, Jan Kratochvíl, and Alexandre Oliva. DWARF DW_TAG_call_site extension proposal. http://dwarfstd.org/ ShowIssue.php?issue=100909.2
[3] J. Jelinek “Improving debug info for optimized away parameters” https://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=view&target=jelinek.pdf
[4] FOSDEM talk http://bofh.nikhef.nl/events/FOSDEM/2019/K.4.201/llvm_de...
2019 Feb 08
3
RFC: [DebugInfo] Improving Debug Information in LLVM to Recover Optimized-out Function Parameters
...Thanks,
Ananth
>
>
> References
> [1]Jakub Jelínek and Roland McGrath. DWARF DW_OP_entry_value extension proposal. http://dwarfstd.org/ShowIssue.php? issue=100909.1.
> [2 Jakub Jelínek, Roland McGrath, Jan Kratochvíl, and Alexandre Oliva. DWARF DW_TAG_call_site extension proposal. http://dwarfstd.org/ ShowIssue.php?issue=100909.2
> [3] J. Jelinek “Improving debug info for optimized away parameters” https://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=view&target=jelinek.pdf
> [4] FOSDEM talk http://bofh.nikhef.nl/events/FOSDEM/20...
2020 May 29
2
Range lists, zero-length functions, linker gc
> Subject: Re: [llvm-dev] Range lists, zero-length functions, linker gc
>
> On 2020-05-28, David Blaikie wrote:
> >On Thu, May 28, 2020 at 2:52 PM Robinson, Paul <paul.robinson at sony.com>
> >wrote:
> >
> >> As has been mentioned elsewhere, Sony generally fixes up references
> from
> >> debug info to stripped functions (of any length) using
2019 Feb 08
2
RFC: [DebugInfo] Improving Debug Information in LLVM to Recover Optimized-out Function Parameters
...>
> > References
> > [1]Jakub Jelínek and Roland McGrath. DWARF DW_OP_entry_value
> extension proposal. http://dwarfstd.org/ShowIssue.php? issue=100909.1.
> > [2 Jakub Jelínek, Roland McGrath, Jan Kratochvíl, and Alexandre
> Oliva. DWARF DW_TAG_call_site extension proposal. http://dwarfstd.org/
> ShowIssue.php?issue=100909.2
> > [3] J. Jelinek “Improving debug info for optimized away parameters”
> https://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=view&target=jelin
> ek.pdf
> > [4] FOSD...