[PATCH] D143111: [HIP] Support ASAN with malloc/free

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 2 15:01:38 PST 2023


yaxunl marked an inline comment as done.
yaxunl added inline comments.


================
Comment at: clang/test/Headers/hip-header.hip:142
+// MALLOC-ASAN-LABEL: define weak {{.*}}i8* @malloc(i64
+// MALLOC-ASAN:  call i8* @llvm.returnaddress(i32 0)
+// MALLOC-ASAN:  call i64 @__asan_malloc_impl(i64 {{.*}}, i64 {{.*}})
----------------
arsenm wrote:
> Should convert this test to opaque pointers before or after 
will do it after


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143111/new/

https://reviews.llvm.org/D143111



More information about the cfe-commits mailing list