Suppress Finalizer loading attempts.

This has been the default mode for a while now since we don't
distribute or build the finalizer.  Removing the attempt cleans
up debug mode messages that are causing confusion.

Change-Id: I8162c95abd5bbedaa22b90191f7a384a34c388ae
这个提交包含在:
Sean Keely 于 2020-04-18 00:06:42 -04:00 提交
1 父节点 e25ae1263b
当前提交 3fe891d5da
1 个文件已更改
+5 -3
+5 -3
查看文件
@@ -1348,12 +1348,14 @@ void Runtime::LoadExtensions() {
"libhsa-ext-image.so.1"};
#endif
// Update Hsa Api Table with handle of Image extension Apis
extensions_.LoadFinalizer(kFinalizerLib[os_index(os::current_os)]);
// Update Hsa Api Table with handle of Finalizer extension Apis
// Skipping finalizer loading since finalizer is no longer distributed.
// LinkExts will expose the finalizer-not-present implementation.
// extensions_.LoadFinalizer(kFinalizerLib[os_index(os::current_os)]);
hsa_api_table_.LinkExts(&extensions_.finalizer_api,
core::HsaApiTable::HSA_EXT_FINALIZER_API_TABLE_ID);
// Update Hsa Api Table with handle of Finalizer extension Apis
// Update Hsa Api Table with handle of Image extension Apis
extensions_.LoadImage(kImageLib[os_index(os::current_os)]);
hsa_api_table_.LinkExts(&extensions_.image_api,
core::HsaApiTable::HSA_EXT_IMAGE_API_TABLE_ID);