summaryrefslogtreecommitdiff
path: root/source/core/slang-shared-library.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-03-05 10:58:08 -0800
committerGitHub <noreply@github.com>2021-03-05 10:58:08 -0800
commitdc7110858ecdb7c7567de360787b9adc4defa04a (patch)
tree16b43018b1544c4d418ca0c68d63c0dc84745c56 /source/core/slang-shared-library.h
parenta5ac4999b4dea546a7ef824669ab1809224b6448 (diff)
Cache stdlib when creating global session. (#1736)
* Cache stdlib when creating global session. * Fix * Fix
Diffstat (limited to 'source/core/slang-shared-library.h')
-rw-r--r--source/core/slang-shared-library.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/core/slang-shared-library.h b/source/core/slang-shared-library.h
index c29f16289..c33f1f41b 100644
--- a/source/core/slang-shared-library.h
+++ b/source/core/slang-shared-library.h
@@ -94,6 +94,13 @@ protected:
String m_path;
};
+class SharedLibraryUtils
+{
+public:
+ static String getSharedLibraryFileName(void* symbolInLib);
+ static uint64_t getSharedLibraryTimestamp(void* symbolInLib);
+};
+
}
#endif // SLANG_SHARED_LIBRARY_H_INCLUDED