]> granicus.if.org Git - clang/commit
[DebugInfo] Emit DW_TAG_enumeration_type for referenced global enumerator.
authorYuanfang Chen <yuanfang.chen@sony.com>
Wed, 4 Sep 2019 20:58:15 +0000 (20:58 +0000)
committerYuanfang Chen <yuanfang.chen@sony.com>
Wed, 4 Sep 2019 20:58:15 +0000 (20:58 +0000)
commit1237b45db0016d2546eb5c78c81afb46b12ed400
tree06355a52c3027e4dd69da3a1761d27265baf5114
parent940249d8175d8db209f3e6e4557aaa6f1d99c00f
[DebugInfo] Emit DW_TAG_enumeration_type for referenced global enumerator.

This essentially reverts changes from r361400 while keeping behavior for
CodeView.

Reviewers: akhuang, rnk, probinson

Reviewed by: rnk

Subscribers: cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370981 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/enum2.c