Skip to content

Commit 9aa5cec

Browse files
Matan-Bathanatos
authored andcommitted
crimson/tools/CMakeLists: store-bench to use lsan_suppressions
``` ================================================================= ==598386==ERROR: LeakSanitizer: detected memory leaks Direct leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7fc37fefd578 in operator new(unsigned long) (/lib64/libasan.so.8+0xfd578) (BuildId: 8843146064a37d00e17ca27fd774b31ebc6d40e2) #1 0x7fc37fa2fb71 in MallocExtension::Register(MallocExtension*) (/lib64/libtcmalloc.so.4+0x2fb71) (BuildId: 5fec9a5a81e329ba0c333f14020599650d07af6f) SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s). ``` Signed-off-by: Matan Breizman <mbreizma@redhat.com>
1 parent c529429 commit 9aa5cec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/crimson/tools/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ target_link_libraries(crimson-store-nbd
99
install(TARGETS crimson-store-nbd DESTINATION bin)
1010

1111
add_executable(crimson-store-bench
12-
store_bench/store-bench.cc
13-
)
12+
store_bench/store-bench.cc
13+
${PROJECT_SOURCE_DIR}/src/crimson/osd/lsan_suppressions.cc)
14+
1415
target_link_libraries(crimson-store-bench
1516
crimson-os)
1617
install(TARGETS crimson-store-bench DESTINATION bin)

0 commit comments

Comments
 (0)