]> granicus.if.org Git - clang/commit
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)
commite7fac8a0763b4595c1e8db743697857a93d2bf7d
treeb417fce9965b09fae077ed2ac4e8291b13b6b4ec
parentd64e6eeea912442cc75aa09d187bbdb9340d7fb7
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/cfe/trunk@362038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-static-member.cpp