summaryrefslogtreecommitdiff
path: root/test/msan/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/msan/lit.cfg')
-rw-r--r--test/msan/lit.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/msan/lit.cfg b/test/msan/lit.cfg
index d23ff31bc7483..eb0ed43897caf 100644
--- a/test/msan/lit.cfg
+++ b/test/msan/lit.cfg
@@ -35,3 +35,11 @@ if config.host_os not in ['Linux']:
if config.target_arch != 'aarch64':
config.available_features.add('stable-runtime')
+
+# For mips64, mips64el we have forced store_context_size to 1 because these
+# archs use slow unwinder which is not async signal safe. Therefore we only
+# check the first frame since store_context size is 1.
+if config.host_arch in ['mips64', 'mips64el']:
+ config.substitutions.append( ('CHECK-%short-stack', 'CHECK-SHORT-STACK'))
+else:
+ config.substitutions.append( ('CHECK-%short-stack', 'CHECK-FULL-STACK'))