|
LLVM 23.0.0git
|
#include "llvm/Frontend/Offloading/Utility.h"#include "llvm/BinaryFormat/AMDGPUMetadataVerifier.h"#include "llvm/BinaryFormat/ELF.h"#include "llvm/BinaryFormat/MsgPackDocument.h"#include "llvm/IR/Constants.h"#include "llvm/IR/GlobalValue.h"#include "llvm/IR/GlobalVariable.h"#include "llvm/IR/Value.h"#include "llvm/Object/ELFObjectFile.h"#include "llvm/Object/OffloadBinary.h"#include "llvm/ObjectYAML/ELFYAML.h"#include "llvm/ObjectYAML/yaml2obj.h"#include "llvm/Support/MemoryBufferRef.h"#include "llvm/Transforms/Utils/ModuleUtils.h"Go to the source code of this file.
Functions | |
| static std::pair< std::string, std::string > | getOffloadEntryBoundarySymbols (const Triple &T, StringRef SectionName) |
| Returns the start/end symbol names for iterating offloading entries in a given section. | |
|
static |
Returns the start/end symbol names for iterating offloading entries in a given section.
Mach-O uses \1section$start$/\1section$end$ convention; ELF/COFF use __start_/__stop_ prefixes.
Definition at line 96 of file Utility.cpp.
References T.
Referenced by llvm::offloading::getOffloadEntryArray().