[all-commits] [llvm/llvm-project] a9b64b: [Offload] Fix segfault when looking for host devic...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue May 27 11:43:51 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a9b64bb3180dab6d28bf800a641f9a9ad54d2c0c
https://github.com/llvm/llvm-project/commit/a9b64bb3180dab6d28bf800a641f9a9ad54d2c0c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
M offload/liboffload/src/OffloadImpl.cpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfo.cpp
Log Message:
-----------
[Offload] Fix segfault when looking for host device name (#141632)
Summary:
This is done using the generic device into pointe, but no such thing
exists for the host device, leading to a segfault. This patch fixes that
for now, but in the future we should probably be more careful in general
handling the possibility that the handle is null everywhere.
Fixes: https://github.com/llvm/llvm-project/issues/141434
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list