LLVM 22.0.0git
LoadLinkableFile.h File Reference

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 class  llvm::orc::LoadArchives { llvm::orc::Never , llvm::orc::Allowed , llvm::orc::Required }

Functions

LLVM_ABI 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.