[PATCH] D70696: [DebugInfo] Support to emit debugInfo for extern variables

Umesh Kalappa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 30 06:31:44 PST 2019


umesh.kalappa0 added a comment.

@SouraVX  and @yonghong-song

cat extern.c 
int global_var = 2;

compile as an extern.c shared a library ,then final executable a.out doesn't have debugInfo for global_var.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70696/new/

https://reviews.llvm.org/D70696





More information about the cfe-commits mailing list