Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generating the DW_Tag_Variable for extern Variables .

3 views
Skip to first unread message

Umesh Kalappa

unread,
May 23, 2019, 7:39:14 AM5/23/19
to
Hi All,

We have the case like

$cat test.c

extern int var1 ;

int test()
{
return var1++;
}

clang don't emit the dw_tag_variable for "var1" in the test.o ,but gcc do .

which is the right semantics here ?

Please share your experience and thank you
~Umesh
0 new messages