forked from OSchip/llvm-project
Fix printing bug in pdb2yaml.
We were using the wrong enum table when mapping enum values to strings for public symbol flags. llvm-svn: 345622
This commit is contained in:
parent
7323259de8
commit
bfac17f21e
|
@ -108,7 +108,7 @@ void ScalarBitSetTraits<ExportFlags>::bitset(IO &io, ExportFlags &Flags) {
|
|||
}
|
||||
|
||||
void ScalarBitSetTraits<PublicSymFlags>::bitset(IO &io, PublicSymFlags &Flags) {
|
||||
auto FlagNames = getProcSymFlagNames();
|
||||
auto FlagNames = getPublicSymFlagNames();
|
||||
for (const auto &E : FlagNames) {
|
||||
io.bitSetCase(Flags, E.Name.str().c_str(),
|
||||
static_cast<PublicSymFlags>(E.Value));
|
||||
|
|
Loading…
Reference in New Issue