[compiler-rt] r257981 - Fix stats.cpp test on 32-bit Windows.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 18:08:56 PST 2016
Author: pcc
Date: Fri Jan 15 20:08:55 2016
New Revision: 257981
URL: http://llvm.org/viewvc/llvm-project?rev=257981&view=rev
Log:
Fix stats.cpp test on 32-bit Windows.
Modified:
compiler-rt/trunk/test/cfi/stats.cpp
Modified: compiler-rt/trunk/test/cfi/stats.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/stats.cpp?rev=257981&r1=257980&r2=257981&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/stats.cpp (original)
+++ compiler-rt/trunk/test/cfi/stats.cpp Fri Jan 15 20:08:55 2016
@@ -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;
}
More information about the llvm-commits
mailing list