[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
Fri Jul 17 05:30:24 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:

Standalone means pointing CMake to this directory instead of `runtimes/` or `llvm/`. There are already loads of places we share headers, this is only a problem if people are expected to do partial checkouts of the monorepo, which does happen but it pretty rare.

https://github.com/llvm/llvm-project/pull/192240


More information about the llvm-commits mailing list