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

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 2 12:34:53 PST 2019


dblaikie added a comment.

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)


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