[compiler-rt] [compiler-rt][asan] Add AMDGPU ASan support via HSA API interceptors. (PR #192240)

Amit Kumar Pandey via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 22:12:29 PDT 2026


================
@@ -287,7 +293,7 @@ uptr PointsIntoChunk(void* p) {
   // LargeMmapAllocator considers pointers to the meta-region of a chunk to be
   // valid, but we don't want that.
   if (addr < chunk) return 0;
-  ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk));
+  ChunkMetadata* m = MetadataFastLocked(reinterpret_cast<void*>(chunk));
----------------
ampandey-1995 wrote:

git clang-format when reads from local [.clang-format](https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/.clang-format) by default where mentioned style was `Google`.

Fixed in commit 2bfbae120fb267b0084eeaaafa987b20cc115c39


 

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


More information about the llvm-commits mailing list