Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions llvm/include/llvm/Support/DynamicLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class DynamicLibrary {
/// Returns true if the object refers to a valid library.
bool isValid() const { return Data != &Invalid; }

/// Return the OS specific handle value.
void *getOSSpecificHandle() const { return Data; }

/// Searches through the library for the symbol \p symbolName. If it is
/// found, the address of that symbol is returned. If not, NULL is returned.
/// Note that NULL will also be returned if the library failed to load.
Expand Down