Displaying 3 results from an estimated 3 matches for "metatada".
Did you mean:
metatadat
2011 Jul 15
1
[LLVMdev] debug metadata incomplete for array arguments to functions?
...ur case.
>
> You can also see what other tool-chains generate from your example. It
> may be the quickest path to get the right answer.
>
Renato, I'm not sure I understand what you mean.
IIUC, debug metadata in IR is the source from which DWARF is eventually
generated. If the debug metatada format doesn't support such a construct
(providing an alternative "type view" for a pointer), there isn't much that
can be done to get this code-gened into DWARF. So I asked Devang if to his
knowledge such a mechanism exists in the current debug metadata format, or
could be implem...
2011 Jul 15
0
[LLVMdev] debug metadata incomplete for array arguments to functions?
On 15 July 2011 05:35, Eli Bendersky <eliben at gmail.com> wrote:
> Suppose one would start writing a patch to Clang to rectify this, how would
> this information be encoded in the debug metadata, given the dual nature of
> the arg_arr argument? Is there a mechanism to support it, or is an extension
> required?
Hi Eli,
The first thing is to make sure it actually makes any
2011 Jul 15
6
[LLVMdev] debug metadata incomplete for array arguments to functions?
> > This reflects the compiler's view of things correctly, but is problematic
> for a debugger. The debugger should know that arg_arr refers to a 42-element
> array and isn't just a pointer into a buffer of unspecified length. This is
> something the user would expect.
> > On the other hand, the debugger should also get the information that
> arg_arr is actually a