LLVM: lib/ExecutionEngine/Orc/Shared/MachOObjectFormat.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
14
15namespace llvm {
16namespace orc {
17
50
64
67
68
69 assert(InitSection[6] == ',' && "Init section seg name has length != 6");
70 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName)
71 return true;
72 }
73 return false;
74}
75
76}
77}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
StringRef - Represent a constant reference to a string, i.e.
LLVM_ABI StringRef MachOSwift5EntrySectionName
Definition MachOObjectFormat.cpp:44
LLVM_ABI StringRef MachOThreadBSSSectionName
Definition MachOObjectFormat.cpp:46
LLVM_ABI StringRef MachOThreadVarsSectionName
Definition MachOObjectFormat.cpp:48
LLVM_ABI StringRef MachOObjCProtoListSectionName
Definition MachOObjectFormat.cpp:36
LLVM_ABI StringRef MachOSwift5ProtosSectionName
Definition MachOObjectFormat.cpp:40
LLVM_ABI StringRef MachOEHFrameSectionName
Definition MachOObjectFormat.cpp:20
LLVM_ABI StringRef MachOModInitFuncSectionName
Definition MachOObjectFormat.cpp:23
LLVM_ABI StringRef MachOObjCConstSectionName
Definition MachOObjectFormat.cpp:29
LLVM_ABI StringRef MachODataDataSectionName
Definition MachOObjectFormat.cpp:19
LLVM_ABI StringRef MachOCompactUnwindSectionName
Definition MachOObjectFormat.cpp:21
LLVM_ABI StringRef MachOSwift5ProtoSectionName
Definition MachOObjectFormat.cpp:39
LLVM_ABI bool isMachOInitializerSection(StringRef SegName, StringRef SecName)
Definition MachOObjectFormat.cpp:65
LLVM_ABI StringRef MachOObjCCatListSectionName
Definition MachOObjectFormat.cpp:24
LLVM_ABI StringRef MachOObjCClassRefsSectionName
Definition MachOObjectFormat.cpp:28
LLVM_ABI StringRef MachOObjCDataSectionName
Definition MachOObjectFormat.cpp:30
LLVM_ABI StringRef MachOObjCClassNameSectionName
Definition MachOObjectFormat.cpp:27
LLVM_ABI StringRef MachOObjCMethNameSectionName
Definition MachOObjectFormat.cpp:32
LLVM_ABI StringRef MachOInitSectionNames[22]
Definition MachOObjectFormat.cpp:51
LLVM_ABI StringRef MachOObjCClassListSectionName
Definition MachOObjectFormat.cpp:26
LLVM_ABI StringRef MachOObjCSelRefsSectionName
Definition MachOObjectFormat.cpp:38
LLVM_ABI StringRef MachOTextTextSectionName
Definition MachOObjectFormat.cpp:45
LLVM_ABI StringRef MachOSwift5FieldMetadataSectionName
Definition MachOObjectFormat.cpp:43
LLVM_ABI StringRef MachOCStringSectionName
Definition MachOObjectFormat.cpp:22
LLVM_ABI StringRef MachOObjCMethTypeSectionName
Definition MachOObjectFormat.cpp:33
LLVM_ABI StringRef MachOSwift5TypesSectionName
Definition MachOObjectFormat.cpp:41
LLVM_ABI StringRef MachOObjCNLCatListSectionName
Definition MachOObjectFormat.cpp:34
LLVM_ABI StringRef MachOObjCNLClassListSectionName
Definition MachOObjectFormat.cpp:35
LLVM_ABI StringRef MachOObjCImageInfoSectionName
Definition MachOObjectFormat.cpp:31
LLVM_ABI StringRef MachOThreadDataSectionName
Definition MachOObjectFormat.cpp:47
LLVM_ABI StringRef MachOUnwindInfoSectionName
Definition MachOObjectFormat.cpp:49
LLVM_ABI StringRef MachODataCommonSectionName
Definition MachOObjectFormat.cpp:18
LLVM_ABI StringRef MachOObjCProtoRefsSectionName
Definition MachOObjectFormat.cpp:37
LLVM_ABI StringRef MachOSwift5TypeRefSectionName
Definition MachOObjectFormat.cpp:42
LLVM_ABI StringRef MachOObjCCatList2SectionName
Definition MachOObjectFormat.cpp:25
This is an optimization pass for GlobalISel generic memory operations.