File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
test/hwasan/TestCases/Posix Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ static const char kStdSuppressions[] =
124
124
# endif
125
125
// TLS leak in some glibc versions, described in
126
126
// https://sourceware.org/bugzilla/show_bug.cgi?id=12650.
127
- " leak:*tls_get_addr*\n " ;
127
+ " leak:*tls_get_addr*\n "
128
+ " leak:*dlerror*\n " ;
128
129
129
130
void InitializeSuppressions () {
130
131
CHECK_EQ (nullptr , suppression_ctx);
Original file line number Diff line number Diff line change 2
2
// This is currently not implemented, so this test is XFAIL.
3
3
4
4
// RUN: %clangxx_hwasan -O0 %s -o %t && HWASAN_OPTIONS=detect_leaks=1 %run %t
5
- // XFAIL: *
6
5
7
6
#include < assert.h>
8
7
#include < dlfcn.h>
12
11
#include < string.h>
13
12
#include < unistd.h>
14
13
15
- constexpr auto kKeys = 500 ;
14
+ // musl only has 128 keys
15
+ constexpr auto kKeys = 100 ;
16
16
17
17
int main (int argc, char **argv) {
18
18
__hwasan_enable_allocator_tagging ();
You can’t perform that action at this time.
0 commit comments