LLVM 20.0.0git
Namespaces | Macros | Functions
LoadLinkableFile.cpp File Reference
#include "llvm/ExecutionEngine/Orc/LoadLinkableFile.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/ExecutionEngine/Orc/MachO.h"
#include "llvm/Support/FileSystem.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::orc
 

Macros

#define DEBUG_TYPE   "orc"
 

Functions

static Expected< std::unique_ptr< MemoryBuffer > > llvm::orc::checkCOFFRelocatableObject (std::unique_ptr< MemoryBuffer > Obj, const Triple &TT)
 
static Expected< std::unique_ptr< MemoryBuffer > > llvm::orc::checkELFRelocatableObject (std::unique_ptr< MemoryBuffer > Obj, const Triple &TT)
 
Expected< std::pair< std::unique_ptr< MemoryBuffer >, LinkableFileKind > > llvm::orc::loadLinkableFile (StringRef Path, const Triple &TT, LoadArchives LA, std::optional< StringRef > IdentifierOverride=std::nullopt)
 Create a MemoryBuffer covering the "linkable" part of the given path.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 16 of file LoadLinkableFile.cpp.