File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ struct CompileUnitIdentifiers {
69
69
Error write (MCStreamer &Out, ArrayRef<std::string> Inputs,
70
70
OnCuIndexOverflow OverflowOptValue);
71
71
72
- unsigned getContributionIndex (DWARFSectionKind Kind, uint32_t IndexVersion);
73
-
74
72
Error handleSection (
75
73
const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
76
74
const MCSection *StrSection, const MCSection *StrOffsetSection,
Original file line number Diff line number Diff line change @@ -156,14 +156,13 @@ static bool isSupportedSectionKind(DWARFSectionKind Kind) {
156
156
return Kind != DW_SECT_EXT_unknown;
157
157
}
158
158
159
- namespace llvm {
160
159
// Convert an internal section identifier into the index to use with
161
160
// UnitIndexEntry::Contributions.
162
- unsigned getContributionIndex (DWARFSectionKind Kind, uint32_t IndexVersion) {
161
+ static unsigned getContributionIndex (DWARFSectionKind Kind,
162
+ uint32_t IndexVersion) {
163
163
assert (serializeSectionKind (Kind, IndexVersion) >= DW_SECT_INFO);
164
164
return serializeSectionKind (Kind, IndexVersion) - DW_SECT_INFO;
165
165
}
166
- } // namespace llvm
167
166
168
167
// Convert a UnitIndexEntry::Contributions index to the corresponding on-disk
169
168
// value of the section identifier.
You can’t perform that action at this time.
0 commit comments