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"
// 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.
// 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 <libunwind.h>
#include <stdlib.h>
#include <string.h>
+// TODO: Figure out why this fails with Memory Sanitizer.
+// XFAIL: msan
+
#include <assert.h>
#include <stdlib.h>
#include <unwind.h>
# REQUIRES: target={{x86_64-.+-linux-gnu}}
+
+// Inline assembly isn't supported by Memory Sanitizer
+// UNSUPPORTED: msan
+
# RUN: %{build} -no-pie
# RUN: %{run}
// 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
// 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 <assert.h>
#include <dlfcn.h>
#include <signal.h>
// 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 <assert.h>
#include <dlfcn.h>
#include <signal.h>