LLVM 20.0.0git
Namespaces | Enumerations | Functions
LoadLinkableFile.h File Reference
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TargetParser/Triple.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
 

Enumerations

enum class  llvm::orc::LinkableFileKind { llvm::orc::Archive , llvm::orc::RelocatableObject }
 
enum  llvm::orc::LoadArchives { llvm::orc::Never , llvm::orc::Allowed , llvm::orc::Required }
 

Functions

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.