summaryrefslogtreecommitdiff
path: root/test/Profile
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-02-14 20:03:56 +0000
committerVedant Kumar <vsk@apple.com>2017-02-14 20:03:56 +0000
commit7a103487c55d16a581ca7f57f53c69aba3c53e61 (patch)
tree3088bf25a62d17b65df0220c7f47159a4a6e899b /test/Profile
parentc29e11317ef4a3bddf4b1916f1fe10ad2b28c3f9 (diff)
[profiling] Update test cases to deal with name variable change (NFC)
This is a re-try of r295085: fix up some test cases that assume that profile name variables are preserved by the instrprof pass. This catches one additional case in test/CoverageMapping/unused_names.c. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Profile')
-rw-r--r--test/Profile/cxx-virtual-destructor-calls.cpp9
1 files changed, 0 insertions, 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 =