From: Evgeniy Stepanov Date: Fri, 11 Nov 2016 18:49:15 +0000 (+0000) Subject: [cfi] Tweak a test for the cfi-icall change. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=753953b02d35f1df5aa7a6f39975fcade5bad56d;p=platform%2Fupstream%2Fllvm.git [cfi] Tweak a test for the cfi-icall change. llvm-svn: 286612 --- diff --git a/compiler-rt/test/cfi/cross-dso/stats.cpp b/compiler-rt/test/cfi/cross-dso/stats.cpp index 3d25d77..6566ea2 100644 --- a/compiler-rt/test/cfi/cross-dso/stats.cpp +++ b/compiler-rt/test/cfi/cross-dso/stats.cpp @@ -16,24 +16,24 @@ extern "C" void nvcall(A *a); #ifdef SHARED_LIB extern "C" __attribute__((noinline)) void vcall(A *a) { - // CHECK: stats.cpp:[[@LINE+1]] vcall cfi-vcall 37 + // CHECK: stats.cpp:[[@LINE+1]] vcall.cfi 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 cfi-nvcall 51 a->nvf(); } #else 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 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 cfi-unrelated-cast 81 return (A *)(char *)a; }