LLVM 22.0.0git
llvm::orc::LibraryResolver Class Reference

Scans libraries and resolves Symbols across user and system paths. More...

#include "llvm/ExecutionEngine/Orc/TargetProcess/LibraryResolver.h"

Classes

struct  Setup
class  SymbolEnumerator
class  SymbolQuery
 Tracks a set of symbols and the libraries where they are resolved. More...

Public Types

using OnSearchComplete = unique_function<void(SymbolQuery &)>

Public Member Functions

 LibraryResolver ()=delete
 LibraryResolver (const Setup &S)
 ~LibraryResolver ()=default
void dump ()
void searchSymbolsInLibraries (std::vector< std::string > &SymList, OnSearchComplete OnComplete, const SearchConfig &Config=SearchConfig())

Friends

class LibraryResolutionDriver

Detailed Description

Scans libraries and resolves Symbols across user and system paths.

Supports symbol enumeration and filtering via SymbolEnumerator, and tracks symbol resolution results through SymbolQuery. Thread-safe and uses LibraryScanHelper for efficient path resolution and caching.

Definition at line 293 of file LibraryResolver.h.

Member Typedef Documentation

◆ OnSearchComplete

Constructor & Destructor Documentation

◆ LibraryResolver() [1/2]

llvm::orc::LibraryResolver::LibraryResolver ( )
delete

◆ LibraryResolver() [2/2]

llvm::orc::LibraryResolver::LibraryResolver ( const Setup & S)
explicit

Definition at line 33 of file LibraryResolver.cpp.

◆ ~LibraryResolver()

llvm::orc::LibraryResolver::~LibraryResolver ( )
default

Member Function Documentation

◆ dump()

void llvm::orc::LibraryResolver::dump ( )
inline

Definition at line 424 of file LibraryResolver.h.

References llvm::dbgs(), llvm::Lib, and llvm::orc::LibraryManager::Loaded.

◆ searchSymbolsInLibraries()

◆ LibraryResolutionDriver

friend class LibraryResolutionDriver
friend

Definition at line 294 of file LibraryResolver.h.

References LibraryResolutionDriver.

Referenced by LibraryResolutionDriver.


The documentation for this class was generated from the following files: