Skip to content

Commit 090edd3

Browse files
committed
[lsan] Disable symbolization in test
With internal symbolizer leaking pointers can be copied into alive memory used by symbolizer.
1 parent 55d4816 commit 090edd3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
// Test for on-demand leak checking.
22
// RUN: %clangxx_lsan %s -o %t
3-
// RUN: %env_lsan_opts=use_stacks=0:use_registers=0 %run %t foo 2>&1 | FileCheck %s
4-
// RUN: %env_lsan_opts=use_stacks=0:use_registers=0 %run %t 2>&1 | FileCheck %s
3+
// RUN: %env_lsan_opts=use_stacks=0:use_registers=0:symbolize=0 %run %t foo 2>&1 | FileCheck %s
4+
// RUN: %env_lsan_opts=use_stacks=0:use_registers=0:symbolize=0 %run %t 2>&1 | FileCheck %s
55

66
// UNSUPPORTED: darwin
77

8-
// FIXME: Investigate.
9-
// XFAIL: internal_symbolizer && lsan-standalone && i386-linux
10-
118
#include <assert.h>
129
#include <stdio.h>
1310
#include <stdlib.h>

0 commit comments

Comments
 (0)