mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[msan] Disabled test failing on new GLIBC
(cherry picked from commit 118757af11
)
This commit is contained in:
parent
578e500fe5
commit
c1b51f0987
@ -491,7 +491,7 @@ if config.host_os == 'Linux':
|
|||||||
if not config.android and len(ver_lines) and ver_lines[0].startswith(b"ldd "):
|
if not config.android and len(ver_lines) and ver_lines[0].startswith(b"ldd "):
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
ver = LooseVersion(ver_lines[0].split()[-1].decode())
|
ver = LooseVersion(ver_lines[0].split()[-1].decode())
|
||||||
for required in ["2.27", "2.30"]:
|
for required in ["2.27", "2.30", "2.34"]:
|
||||||
if ver >= LooseVersion(required):
|
if ver >= LooseVersion(required):
|
||||||
config.available_features.add("glibc-" + required)
|
config.available_features.add("glibc-" + required)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
|
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
|
||||||
|
|
||||||
|
// FIXME: Something changed in glibc 2.34, maybe earier.
|
||||||
|
// UNSUPPORTED: glibc-2.34
|
||||||
|
|
||||||
#include <sanitizer/msan_interface.h>
|
#include <sanitizer/msan_interface.h>
|
||||||
|
|
||||||
volatile int global;
|
volatile int global;
|
||||||
|
Loading…
Reference in New Issue
Block a user