Skip to content

Commit f168876

Browse files
committed
[hwasan] Fix suppression of leaks from dlsym
Header "lsan/lsan_common.h" is not included, CAN_SANITIZE_LEAKS macro is expanded to 0, so suppression of leaks from dlsym doesn't take effect.
1 parent 5d300af commit f168876

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include "hwasan.h"
1616
#include "interception/interception.h"
17+
#include "lsan/lsan_common.h"
1718
#include "sanitizer_common/sanitizer_allocator_dlsym.h"
1819
#include "sanitizer_common/sanitizer_allocator_interface.h"
1920
#include "sanitizer_common/sanitizer_mallinfo.h"

0 commit comments

Comments
 (0)