Skip to content

Commit

Permalink
[cilksan] Remove spurious argument from aligned_alloc libhook.
Browse files Browse the repository at this point in the history
  • Loading branch information
neboat committed Nov 4, 2023
1 parent d3b6236 commit 08a93c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cilksan/libhooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,10 +922,11 @@ CILKSAN_API void __csan_acoshl(const csi_id_t call_id, const csi_id_t func_id,
return;
}

CILKSAN_API void
__csan_aligned_alloc(const csi_id_t call_id, const csi_id_t func_id,
unsigned MAAP_count, const call_prop_t prop, void *result,
size_t num, size_t alignment, size_t size) {
CILKSAN_API void __csan_aligned_alloc(const csi_id_t call_id,
const csi_id_t func_id,
unsigned MAAP_count,
const call_prop_t prop, void *result,
size_t alignment, size_t size) {
START_HOOK(call_id);

if (MAAP_count > 0) {
Expand Down

0 comments on commit 08a93c7

Please sign in to comment.