summaryrefslogtreecommitdiff
path: root/test/cfi/stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cfi/stats.cpp')
-rw-r--r--test/cfi/stats.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/cfi/stats.cpp b/test/cfi/stats.cpp
index 566fcfbc2581..ca6b3bf0df48 100644
--- a/test/cfi/stats.cpp
+++ b/test/cfi/stats.cpp
@@ -1,10 +1,13 @@
-// RUN: %clangxx_cfi -g -fsanitize-stats -o %t %s
-// RUN: env SANITIZER_STATS_PATH=%t.stats %t
+// RUN: %clangxx_cfi %debug_info_flags -fsanitize-stats -o %t %s
+// RUN: env SANITIZER_STATS_PATH=%t.stats %run %t
// RUN: sanstats %t.stats | FileCheck %s
// FIXME: We currently emit the wrong debug info under devirtualization.
// UNSUPPORTED: devirt
+// FIXME: %t.stats must be transferred from device to host for this to work on Android.
+// XFAIL: android
+
struct ABase {};
struct A : ABase {