diff --git a/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp b/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp index 745f79cd77f3..713e9a710e94 100644 --- a/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp +++ b/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp @@ -108,7 +108,7 @@ void ScalarBitSetTraits::bitset(IO &io, ExportFlags &Flags) { } void ScalarBitSetTraits::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(E.Value));