https://bugs.llvm.org/show_bug.cgi?id=48483

            Bug ID: 48483
           Summary: Non optimal debug info for C99 array as parameter
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

For Example: 

void oneDArray( int length, int a[ length ])
{
   int i;
   for ( i = 0; i < length; ++i)
       printf("a[%d] : %d\n", i, a[ i ]);
}

The debug info (as seen in lldb) is that "a" is of type "int*" not an array of
size "length"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to