[libc-commits] [libc] 5999c53 - [libc] Declare free_sized and free_aligned_sized in stdlib.h / malloc.h (#188364)
via libc-commits
libc-commits at lists.llvm.org
Wed Mar 25 03:48:15 PDT 2026
Author: Fabio D'Urso
Date: 2026-03-25T11:48:07+01:00
New Revision: 5999c53e32e85a2991385f8e2a77199416147e8a
URL: https://github.com/llvm/llvm-project/commit/5999c53e32e85a2991385f8e2a77199416147e8a
DIFF: https://github.com/llvm/llvm-project/commit/5999c53e32e85a2991385f8e2a77199416147e8a.diff
LOG: [libc] Declare free_sized and free_aligned_sized in stdlib.h / malloc.h (#188364)
Added:
Modified:
libc/include/stdlib-malloc.yaml
Removed:
################################################################################
diff --git a/libc/include/stdlib-malloc.yaml b/libc/include/stdlib-malloc.yaml
index e1dab21bfc213..0542f5501a6bb 100644
--- a/libc/include/stdlib-malloc.yaml
+++ b/libc/include/stdlib-malloc.yaml
@@ -22,6 +22,21 @@ functions:
return_type: void
arguments:
- type: void *
+ - name: free_aligned_sized
+ standards:
+ - stdc
+ return_type: void
+ arguments:
+ - type: void *
+ - type: size_t
+ - type: size_t
+ - name: free_sized
+ standards:
+ - stdc
+ return_type: void
+ arguments:
+ - type: void *
+ - type: size_t
- name: malloc
standards:
- stdc
More information about the libc-commits
mailing list