From 9d034c720c332a901de795c1528f6fbf437531a2 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Tue, 14 Feb 2017 18:49:03 +0000 Subject: [PATCH] [profiling] Update test case to deal with name variable change (NFC) The 'profn' name variables shouldn't show up after we run the instrprof pass, see https://reviews.llvm.org/D29921 for more details. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295085 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Profile/cxx-virtual-destructor-calls.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/Profile/cxx-virtual-destructor-calls.cpp b/test/Profile/cxx-virtual-destructor-calls.cpp index cc3df68d35..c60fc921e5 100644 --- a/test/Profile/cxx-virtual-destructor-calls.cpp +++ b/test/Profile/cxx-virtual-destructor-calls.cpp @@ -13,15 +13,6 @@ struct B : A { virtual ~B(); }; -// Base dtor -// CHECK: @__profn__ZN1BD2Ev = private constant [9 x i8] c"_ZN1BD2Ev" - -// Complete dtor must not be instrumented -// CHECK-NOT: @__profn__ZN1BD1Ev = private constant [9 x i8] c"_ZN1BD1Ev" - -// Deleting dtor must not be instrumented -// CHECK-NOT: @__profn__ZN1BD0Ev = private constant [9 x i8] c"_ZN1BD0Ev" - // Base dtor counters and profile data // CHECK: @__profc__ZN1BD2Ev = private global [1 x i64] zeroinitializer // CHECK: @__profd__ZN1BD2Ev = -- 2.40.0