File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,6 @@ struct CompileUnitIdentifiers {
70
70
LLVM_ABI Error write (MCStreamer &Out, ArrayRef<std::string> Inputs,
71
71
OnCuIndexOverflow OverflowOptValue);
72
72
73
- LLVM_ABI unsigned getContributionIndex (DWARFSectionKind Kind,
74
- uint32_t IndexVersion);
75
-
76
73
LLVM_ABI Error handleSection (
77
74
const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
78
75
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