[llvm-dev] Debug Info is not generated for extern variables .
Umesh Kalappa via llvm-dev
llvm-dev at lists.llvm.org
Fri May 17 09:20:41 PDT 2019
for the below case :
extern void sharedLibTestLibRtn (int arg);
extern int testExt;
int main (void)
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 analysis on DIBuilder in clang ,any inputs here
will be appreciated .
More information about the llvm-dev