From dc7110858ecdb7c7567de360787b9adc4defa04a Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 5 Mar 2021 10:58:08 -0800 Subject: Cache stdlib when creating global session. (#1736) * Cache stdlib when creating global session. * Fix * Fix --- source/core/slang-shared-library.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/core/slang-shared-library.h') 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 -- cgit v1.2.3