Skip to content

Commit 549f931

Browse files
committed
lsan: fix macos build after llvm#144604
Signed-off-by: Justin King <[email protected]>
1 parent 6e5ee4a commit 549f931

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/lib/lsan/lsan_interceptors.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ INTERCEPTOR(void*, valloc, uptr size) {
146146
GET_STACK_TRACE_MALLOC;
147147
return lsan_valloc(size, stack);
148148
}
149+
#else
150+
# define LSAN_MAYBE_INTERCEPT_FREE_SIZED
151+
# define LSAN_MAYBE_INTERCEPT_FREE_ALIGNED_SIZED
149152
#endif // !SANITIZER_APPLE
150153

151154
#if SANITIZER_INTERCEPT_MEMALIGN

0 commit comments

Comments
 (0)