[compiler-rt] [compiler-rt][memprof] adding free_sized/free_aligned_sized intercept… (PR #154011)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 19 15:57:24 PDT 2025
================
@@ -0,0 +1,21 @@
+// RUN: %clangxx_memprof %s -o %t
+
+// RUN: %env_memprof_opts=print_text=true:log_path=stdout %run %t | FileCheck %s
+
+#include <stdlib.h>
+#include <unistd.h>
+
+extern "C" {
+void free_sized(void *ptr, size_t size);
+void free_aligned_sized(void *ptr, size_t alignement, size_t size);
----------------
snehasish wrote:
typo: alignment
https://github.com/llvm/llvm-project/pull/154011
More information about the llvm-commits
mailing list