summaryrefslogtreecommitdiff
path: root/test/cfi
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-01-16 02:08:55 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-01-16 02:08:55 +0000
commit1eaff0edcaaa7aa251dd019bc6f9d03ed028c61a (patch)
tree409db7c3e5a11c52958d9faffa8d9e7cf80955d2 /test/cfi
parented18c045153610462ad571a5c3347aaabf843d56 (diff)
Fix stats.cpp test on 32-bit Windows.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi')
-rw-r--r--test/cfi/stats.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cfi/stats.cpp b/test/cfi/stats.cpp
index dd067c7cf..eda11e189 100644
--- a/test/cfi/stats.cpp
+++ b/test/cfi/stats.cpp
@@ -10,22 +10,22 @@ struct A : ABase {
};
extern "C" __attribute__((noinline)) void vcall(A *a) {
- // CHECK: stats.cpp:[[@LINE+1]] vcall cfi-vcall 37
+ // CHECK: stats.cpp:[[@LINE+1]] {{_?}}vcall cfi-vcall 37
a->vf();
}
extern "C" __attribute__((noinline)) void nvcall(A *a) {
- // CHECK: stats.cpp:[[@LINE+1]] nvcall cfi-nvcall 51
+ // CHECK: stats.cpp:[[@LINE+1]] {{_?}}nvcall cfi-nvcall 51
a->nvf();
}
extern "C" __attribute__((noinline)) A *dcast(A *a) {
- // CHECK: stats.cpp:[[@LINE+1]] dcast cfi-derived-cast 24
+ // CHECK: stats.cpp:[[@LINE+1]] {{_?}}dcast cfi-derived-cast 24
return (A *)(ABase *)a;
}
extern "C" __attribute__((noinline)) A *ucast(A *a) {
- // CHECK: stats.cpp:[[@LINE+1]] ucast cfi-unrelated-cast 81
+ // CHECK: stats.cpp:[[@LINE+1]] {{_?}}ucast cfi-unrelated-cast 81
return (A *)(char *)a;
}