LLVM: lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

15

16namespace llvm {

17namespace orc {

18

20

27

33

36

40

44 if (Name.consume_front(InitSection) && (Name.empty() || Name[0] == '.'))

45 return true;

46 }

47 return false;

48}

49

53

54}

55}

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

Definition ObjectFormats.cpp:34

LLVM_ABI StringRef ELFCtorArrayFuncSectionName

Definition ObjectFormats.cpp:25

LLVM_ABI StringRef ELFFiniFuncSectionName

Definition ObjectFormats.cpp:24

LLVM_ABI StringRef ELFInitSectionNames[3]

Definition ObjectFormats.cpp:28

LLVM_ABI StringRef ELFEHFrameSectionName

Definition ObjectFormats.cpp:19

LLVM_ABI bool isMachOInitializerSection(StringRef SegName, StringRef SecName)

LLVM_ABI StringRef ELFFiniArrayFuncSectionName

Definition ObjectFormats.cpp:23

LLVM_ABI StringRef MachOInitSectionNames[22]

LLVM_ABI StringRef ELFThreadDataSectionName

Definition ObjectFormats.cpp:35

LLVM_ABI StringRef ELFInitArrayFuncSectionName

Definition ObjectFormats.cpp:21

LLVM_ABI bool isCOFFInitializerSection(StringRef Name)

Definition ObjectFormats.cpp:50

LLVM_ABI bool isELFInitializerSection(StringRef SecName)

Definition ObjectFormats.cpp:41

LLVM_ABI StringRef ELFInitFuncSectionName

Definition ObjectFormats.cpp:22

LLVM_ABI StringRef ELFDtorArrayFuncSectionName

Definition ObjectFormats.cpp:26

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.