44 if (
Name.consume_front(InitSection) && (
Name.empty() ||
Name[0] ==
'.'))
StringRef - Represent a constant reference to a string, i.e.
bool starts_with(StringRef Prefix) const
Check if this string starts with the given Prefix.
LLVM_ABI StringRef ELFThreadBSSSectionName
LLVM_ABI StringRef ELFCtorArrayFuncSectionName
LLVM_ABI StringRef ELFFiniFuncSectionName
LLVM_ABI StringRef ELFInitSectionNames[3]
LLVM_ABI StringRef ELFEHFrameSectionName
LLVM_ABI bool isMachOInitializerSection(StringRef SegName, StringRef SecName)
LLVM_ABI StringRef ELFFiniArrayFuncSectionName
LLVM_ABI StringRef MachOInitSectionNames[22]
LLVM_ABI StringRef ELFThreadDataSectionName
LLVM_ABI StringRef ELFInitArrayFuncSectionName
LLVM_ABI bool isCOFFInitializerSection(StringRef Name)
LLVM_ABI bool isELFInitializerSection(StringRef SecName)
LLVM_ABI StringRef ELFInitFuncSectionName
LLVM_ABI StringRef ELFDtorArrayFuncSectionName
This is an optimization pass for GlobalISel generic memory operations.
bool is_contained(R &&Range, const E &Element)
Returns true if Element is found in Range.