diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml --- a/libcxx/utils/ci/buildkite-pipeline.yml +++ b/libcxx/utils/ci/buildkite-pipeline.yml @@ -276,6 +276,20 @@ limit: 2 timeout_in_minutes: 120 + - label: "MSAN" + command: "libcxx/utils/ci/run-buildbot generic-msan" + artifact_paths: + - "**/test-results.xml" + - "**/*.abilist" + agents: + queue: "libcxx-builders" + os: "linux" + retry: + automatic: + - exit_status: -1 # Agent was lost + limit: 2 + timeout_in_minutes: 120 + # Tests with the various supported ways to build libc++. - label: "Bootstrapping build" command: "libcxx/utils/ci/run-buildbot bootstrapping-build" diff --git a/libunwind/test/forceunwind.pass.cpp b/libunwind/test/forceunwind.pass.cpp --- a/libunwind/test/forceunwind.pass.cpp +++ b/libunwind/test/forceunwind.pass.cpp @@ -9,6 +9,9 @@ // REQUIRES: linux +// TODO: Figure out why this fails with Memory Sanitizer. +// XFAIL: msan + // Basic test for _Unwind_ForcedUnwind. // See libcxxabi/test/forced_unwind* tests too. diff --git a/libunwind/test/libunwind_01.pass.cpp b/libunwind/test/libunwind_01.pass.cpp --- a/libunwind/test/libunwind_01.pass.cpp +++ b/libunwind/test/libunwind_01.pass.cpp @@ -1,6 +1,9 @@ // TODO: Investigate these failures on x86_64 macOS back deployment // UNSUPPORTED: target=x86_64-apple-darwin{{.+}} +// TODO: Figure out why this fails with Memory Sanitizer. +// XFAIL: msan + #include #include #include diff --git a/libunwind/test/libunwind_02.pass.cpp b/libunwind/test/libunwind_02.pass.cpp --- a/libunwind/test/libunwind_02.pass.cpp +++ b/libunwind/test/libunwind_02.pass.cpp @@ -1,3 +1,6 @@ +// TODO: Figure out why this fails with Memory Sanitizer. +// XFAIL: msan + #include #include #include diff --git a/libunwind/test/remember_state_leak.pass.sh.s b/libunwind/test/remember_state_leak.pass.sh.s --- a/libunwind/test/remember_state_leak.pass.sh.s +++ b/libunwind/test/remember_state_leak.pass.sh.s @@ -1,4 +1,8 @@ # REQUIRES: target={{x86_64-.+-linux-gnu}} + +// Inline assembly isn't supported by Memory Sanitizer +// UNSUPPORTED: msan + # RUN: %{build} -no-pie # RUN: %{run} diff --git a/libunwind/test/signal_frame.pass.cpp b/libunwind/test/signal_frame.pass.cpp --- a/libunwind/test/signal_frame.pass.cpp +++ b/libunwind/test/signal_frame.pass.cpp @@ -12,6 +12,9 @@ // TODO: Investigate this failure on macOS // XFAIL: target={{.+}}-apple-darwin{{.+}} +// TODO: Figure out why this fails with Memory Sanitizer. +// XFAIL: msan + // UNSUPPORTED: libunwind-arm-ehabi // The AIX assembler does not support CFI directives, which diff --git a/libunwind/test/signal_unwind.pass.cpp b/libunwind/test/signal_unwind.pass.cpp --- a/libunwind/test/signal_unwind.pass.cpp +++ b/libunwind/test/signal_unwind.pass.cpp @@ -10,6 +10,9 @@ // Ensure that the unwinder can cope with the signal handler. // REQUIRES: linux && (target={{aarch64-.+}} || target={{x86_64-.+}}) +// TODO: Figure out why this fails with Memory Sanitizer. +// XFAIL: msan + #include #include #include diff --git a/libunwind/test/unwind_leaffunction.pass.cpp b/libunwind/test/unwind_leaffunction.pass.cpp --- a/libunwind/test/unwind_leaffunction.pass.cpp +++ b/libunwind/test/unwind_leaffunction.pass.cpp @@ -10,6 +10,9 @@ // Ensure that leaf function can be unwund. // REQUIRES: linux && (target={{aarch64-.+}} || target={{x86_64-.+}}) +// TODO: Figure out why this fails with Memory Sanitizer. +// XFAIL: msan + #include #include #include