[PATCH] D143111: [HIP] Support ASAN with malloc/free
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 2 14:25:53 PST 2023
arsenm 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 {{.*}})
----------------
Should convert this test to opaque pointers before or after
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143111/new/
https://reviews.llvm.org/D143111
More information about the cfe-commits
mailing list