]> granicus.if.org Git - llvm/commit
DebugInfo: Include enumerators in pubnames
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 14 Jun 2019 01:58:56 +0000 (01:58 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 14 Jun 2019 01:58:56 +0000 (01:58 +0000)
commit55019e5ab67e96df19f93cfde032b182ccce39fd
treeacb2aa756ff77636f1bd0151e1104c3052e2db53
parent6ed0a84e056f6ffdcac1408ce47218bc23225a83
DebugInfo: Include enumerators in pubnames

This is consistent with GCC's behavior (which is the defacto standard
for pubnames). Though I find the presence of enumerators from enum
classes to be a bit confusing, possibly a bug on GCC's end (since they
can't be named unqualified, unlike the other names - and names nested in
classes don't go in pubnames, for instance - presumably because one must
name the class first & that's enough to limit the scope of the search)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
test/DebugInfo/X86/gnu-public-names.ll