Article View: gnu.gdb.bug
Article #1Generating the DW_Tag_Variable for extern Variables .
From: Umesh Kalappa
Date: Thu, 23 May 2019 11:39
Date: Thu, 23 May 2019 11:39
19 lines
1304 bytes
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
Technical Details
Message-ID:
<35f69f7e-9661-46f1-9792-0eaa24913a98@googlegroups.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.gdb.bug.(470).mbox.7z!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <35f69f7e-9661-46f1-9792-0eaa24913a98@googlegroups.com> Subject: Generating the DW_Tag_Variable for extern Variables . Date: Thu, 23 May 2019 11:39:12 +0000 From: Umesh Kalappa <umesh.kalappa0@gmail.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.gdb.bug.(470).mbox.7z!not-for-mail X-Received: by 2002:a24:78d1:: with SMTP id p200mr12568344itc.69.1558611553689; X-Received: by 2002:a9d:5c17:: with SMTP id o23mr440332otk.286.1558611553279; Newsgroups: gnu.gdb.bug Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=49.204.85.206; posting-account=CmEyNQoAAABrc_pDRlmh-bXlKjYWUsh9 NNTP-Posting-Host: 49.204.85.206 User-Agent: G2/1.0 MIME-Version: 1.0 Injection-Date: Thu, 23 May 2019 11:39:13 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1284 X-Received-Body-CRC: 454377770