[compiler-rt] [compiler-rt][asan] Add AMDGPU ASan support via HSA API interceptors. (PR #192240)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 11:46:42 PDT 2026
================
@@ -0,0 +1,141 @@
+//===-- hsa/hsa_ext_amd.h ----------------------------- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// Minimal AMD HSA extension declarations used by compiler-rt host sanitizers.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef HSA_EXT_AMD_H_
----------------
jhuber6 wrote:
We should probably find a way to merge this with the definitions in `dynamic_hsa` under `offload/`. Not saying it's a blocker, but we shouldn't need to maintain two of these.
https://github.com/llvm/llvm-project/pull/192240
More information about the llvm-commits
mailing list