[compiler-rt] r286612 - [cfi] Tweak a test for the cfi-icall change.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 10:49:15 PST 2016


Author: eugenis
Date: Fri Nov 11 12:49:15 2016
New Revision: 286612

URL: http://llvm.org/viewvc/llvm-project?rev=286612&view=rev
Log:
[cfi] Tweak a test for the cfi-icall change.

Modified:
    compiler-rt/trunk/test/cfi/cross-dso/stats.cpp

Modified: compiler-rt/trunk/test/cfi/cross-dso/stats.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/cross-dso/stats.cpp?rev=286612&r1=286611&r2=286612&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/cross-dso/stats.cpp (original)
+++ compiler-rt/trunk/test/cfi/cross-dso/stats.cpp Fri Nov 11 12:49:15 2016
@@ -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;
 }
 




More information about the llvm-commits mailing list