Displaying 3 results from an estimated 3 matches for "be4db3d8".
2011 Jul 14
0
[LLVMdev] debug metadata incomplete for array arguments to functions?
On Jul 13, 2011, at 9:56 PM, Eli Bendersky wrote:
> Hello,
>
> Consider the following two functions:
>
> void foo(int* arg_ptr) {
> ...
> }
>
> void bar(int arg_arr[42]) {
> ...
> }
>
> ------
>
> According to the C standard, both arguments will be passed to the function as pointers. However, in the debug information metadata generated in LLVM, it
2011 Jul 14
2
[LLVMdev] debug metadata incomplete for array arguments to functions?
Hello,
Consider the following two functions:
void foo(int* arg_ptr) {
...
}
void bar(int arg_arr[42]) {
...
}
------
According to the C standard, both arguments will be passed to the function
as pointers. However, in the debug information metadata generated in LLVM,
it appears that they are also equivalent.
More specifically, for both arg_ptr and arg_arr I get a derived type
descriptor with
2011 Jul 15
6
[LLVMdev] debug metadata incomplete for array arguments to functions?
...he debug metadata, given the dual nature of
the arg_arr argument? Is there a mechanism to support it, or is an extension
required?
Thanks in advance
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110715/be4db3d8/attachment.html>