From a32c08d304c1bda06c7e503e5db98ac3ec6a07cb Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Sat, 18 Feb 2017 01:50:14 +0000 Subject: [profiling] Tighten test cases which refer to "profn" vars. NFC. The frontend can't see "__profn" profile name variables after IRGen because llvm throws these away now. Tighten up some test cases which checked for the non-existence of those variables. llvm-svn: 295528 --- clang/test/Profile/cxx-structors.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'clang/test/Profile/cxx-structors.cpp') diff --git a/clang/test/Profile/cxx-structors.cpp b/clang/test/Profile/cxx-structors.cpp index 73562d39c97..d6fc1ad6648 100644 --- a/clang/test/Profile/cxx-structors.cpp +++ b/clang/test/Profile/cxx-structors.cpp @@ -20,13 +20,12 @@ Bar bar; // Profile data for complete constructors and destructors must absent. -// CHECK-NOT: @__profn__ZN3FooC1Ev -// CHECK-NOT: @__profn__ZN3FooC1Ei -// CHECK-NOT: @__profn__ZN3FooD1Ev -// CHECK-NOT: @__profn__ZN3BarC1Ev -// CHECK-NOT: @__profn__ZN3BarD1Ev +// CHECK-NOT: @__profc__ZN3FooC1Ev +// CHECK-NOT: @__profc__ZN3FooC1Ei +// CHECK-NOT: @__profc__ZN3FooD1Ev +// CHECK-NOT: @__profc__ZN3BarC1Ev +// CHECK-NOT: @__profc__ZN3BarD1Ev // CHECK-NOT: @__profc__ZN3FooD1Ev -// CHECK-NOT: @__profd__ZN3FooD1Ev int main() { } -- cgit v1.2.3