15std::optional<DebugSectionKind>
20 DebugSectionKind::DebugInfo)
22 DebugSectionKind::DebugLine)
24 DebugSectionKind::DebugFrame)
26 DebugSectionKind::DebugRange)
28 DebugSectionKind::DebugRngLists)
30 DebugSectionKind::DebugLoc)
32 DebugSectionKind::DebugLocLists)
34 DebugSectionKind::DebugARanges)
36 DebugSectionKind::DebugAbbrev)
38 DebugSectionKind::DebugMacinfo)
40 DebugSectionKind::DebugMacro)
42 DebugSectionKind::DebugAddr)
44 DebugSectionKind::DebugStr)
46 DebugSectionKind::DebugLineStr)
48 DebugSectionKind::DebugStrOffsets)
50 DebugSectionKind::DebugPubNames)
52 DebugSectionKind::DebugPubTypes)
54 DebugSectionKind::DebugNames)
56 DebugSectionKind::AppleNames)
58 DebugSectionKind::AppleNamespaces)
60 DebugSectionKind::AppleObjC)
62 DebugSectionKind::AppleTypes)
This file implements the StringSwitch template, which mimics a switch() statement whose cases are str...
StringRef - Represent a constant reference to a string, i.e.
constexpr StringRef substr(size_t Start, size_t N=npos) const
Return a reference to the substring from [Start, Start + N).
size_t find_first_not_of(char C, size_t From=0) const
Find the first character in the string that is not C or npos if not found.
A switch()-like statement whose cases are string literals.
std::optional< DebugSectionKind > parseDebugTableName(StringRef Name)
Recognise the table name and match it with the DebugSectionKind.
static constexpr const StringLiteral & getSectionName(DebugSectionKind SectionKind)
Return the name of the section.
This is an optimization pass for GlobalISel generic memory operations.