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: unassignedclangb...@nondot.org
          Reporter: pichet2...@gmail.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to