Displaying 1 result from an estimated 1 matches for "cf4db30a".
Did you mean:
3cf4d30a
2019 May 17
2
Debug Info is not generated for extern variables .
Hi All,
for the below case :
$cat test.c
extern void sharedLibTestLibRtn (int arg);
extern int testExt;
int main (void)
{
testExt++;
sharedLibTestLibRtn (5);
return 0;
}
we don't see the debug-info for "testExt" i.e no DW_AT_type entry for
extern symbol ,where gcc has the same .
we are fixing the same in clang as compatibility with gcc .
before we start our