Disable elftls_dl#dtv_resize on HWASan

A new TLS variable was added to HWASan RT in the new toolchain and
this tests needs to be adjusted. Skipping for now.

Bug: 271243811
Change-Id: Ie6664a9ac350624e8e963a36e4248d0d051bc8c1
This commit is contained in:
Florian Mayer 2023-03-01 21:40:13 +00:00
parent c920ac5695
commit 2b67014e11

View file

@ -30,6 +30,7 @@
#include <link.h>
#include <android-base/file.h>
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
#include <thread>
@ -153,6 +154,7 @@ TEST(elftls_dl, tlsdesc_missing_weak) {
}
TEST(elftls_dl, dtv_resize) {
SKIP_WITH_HWASAN; // TODO(b/271243811): Fix for new toolchain
#if defined(__BIONIC__)
#define LOAD_LIB(soname) ({ \
auto lib = dlopen(soname, RTLD_LOCAL | RTLD_NOW); \