Displaying 2 results from an estimated 2 matches for "sharedlibtestlibrtn".
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...
2019 May 17
2
Debug Info is not generated for extern variables .
...but not for variables (static member variables are 'members' rather than 'variables')
On Fri, May 17, 2019 at 9:21 AM Umesh Kalappa via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
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...