🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Umesh Kalappa Thu, 23 May 2019 11:39
Generating the DW_Tag_Variable for extern Variables .
#1
Author: Umesh Kalappa
Date: Thu, 23 May 2019 11:39
19 lines
1304 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads