OSDN Git Service

CodeView - add static data members to global variable debug info.
authorAmy Huang <akhuang@google.com>
Wed, 29 May 2019 21:45:34 +0000 (21:45 +0000)
committerAmy Huang <akhuang@google.com>
Wed, 29 May 2019 21:45:34 +0000 (21:45 +0000)
commit76a9747cd75f2f1a7639402286b0978ce1147776
tree7f5138d9367938aeb29c93eb4414f322b8e806cd
parent524187c8cc0ba55bc3b8b3abb22a1652f677afd0
CodeView - add static data members to global variable debug info.

Summary:
Add static data members to IR debug info's list of global variables
so that they are emitted as S_CONSTANT records.

Related to https://bugs.llvm.org/show_bug.cgi?id=41615.

Reviewers: rnk

Subscribers: aprantl, cfe-commits, llvm-commits, thakis

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D62167

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
test/DebugInfo/COFF/global-constants.ll