We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299c632 commit 4b7545aCopy full SHA for 4b7545a
llvm/include/llvm/Support/DynamicLibrary.h
@@ -45,6 +45,9 @@ class DynamicLibrary {
45
/// Returns true if the object refers to a valid library.
46
bool isValid() const { return Data != &Invalid; }
47
48
+ /// Return the OS specific handle value.
49
+ void *getOSSpecificHandle() const { return Data; }
50
+
51
/// Searches through the library for the symbol \p symbolName. If it is
52
/// found, the address of that symbol is returned. If not, NULL is returned.
53
/// Note that NULL will also be returned if the library failed to load.
0 commit comments