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

Sourabh Singh Tomar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 2 12:34:54 PST 2019


SouraVX added a comment.

In D70696#1765843 <https://reviews.llvm.org/D70696#1765843>, @dblaikie wrote:

> In D70696#1765823 <https://reviews.llvm.org/D70696#1765823>, @SouraVX wrote:
>
> > @dblaikie  , If you try switching to C compiler. then the DW_TAG_variable is their. for C++ . It's not generated.  Please check godbolt again. -- though strange
>
>
> Hmm - I don't seem to see it in C either: https://godbolt.org/z/EUufYE (it's present in 9.2 as it is with C++, but not present in GCC trunk)


Ahh,, missed the trunk -- Sorry!


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