summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Posix/stack-use-after-return.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/Posix/stack-use-after-return.cc')
-rw-r--r--test/asan/TestCases/Posix/stack-use-after-return.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/asan/TestCases/Posix/stack-use-after-return.cc b/test/asan/TestCases/Posix/stack-use-after-return.cc
index 2b9f1d474..237c880f8 100644
--- a/test/asan/TestCases/Posix/stack-use-after-return.cc
+++ b/test/asan/TestCases/Posix/stack-use-after-return.cc
@@ -16,6 +16,8 @@
// This test runs out of stack on AArch64.
// UNSUPPORTED: aarch64
+// stack size log lower than expected
+// XFAIL: freebsd
// FIXME: Fix this test for dynamic runtime on arm linux.
// UNSUPPORTED: (arm-linux || armhf-linux) && asan-dynamic-runtime
@@ -95,7 +97,7 @@ int main(int argc, char **argv) {
if (stacksize_check != desired_stack_size) {
fprintf(stderr, "Unable to set stack size to %d, the stack size is %d.\n",
- desired_stack_size, stacksize_check);
+ (int)desired_stack_size, (int)stacksize_check);
abort();
}
}