From: Bob Wilson Date: Thu, 6 Mar 2014 21:36:04 +0000 (+0000) Subject: PGO: rename profile data files from .pgodata to .profdata. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02b1ecbfd2d0060950bc75f5e3f2fa866cc6fa7f;p=clang PGO: rename profile data files from .pgodata to .profdata. These tests were added before we had settled on using a .profdata extension for the profile data files. Renaming them now for consistency. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203166 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Inputs/instr-attribute.pgodata b/test/CodeGen/Inputs/instr-attribute.profdata similarity index 100% rename from test/CodeGen/Inputs/instr-attribute.pgodata rename to test/CodeGen/Inputs/instr-attribute.profdata diff --git a/test/CodeGen/Inputs/instr-profile.pgodata b/test/CodeGen/Inputs/instr-profile.profdata similarity index 100% rename from test/CodeGen/Inputs/instr-profile.pgodata rename to test/CodeGen/Inputs/instr-profile.profdata diff --git a/test/CodeGen/instr-attribute.c b/test/CodeGen/instr-attribute.c index 0005c5a62e..b239980754 100644 --- a/test/CodeGen/instr-attribute.c +++ b/test/CodeGen/instr-attribute.c @@ -1,6 +1,6 @@ // Test that instrumentation based profiling sets function attributes correctly. -// RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-attribute.pgodata | FileCheck %s +// RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-attribute.profdata | FileCheck %s extern int atoi(const char *); diff --git a/test/CodeGen/instr-profile.c b/test/CodeGen/instr-profile.c index 3428520278..05656ab508 100644 --- a/test/CodeGen/instr-profile.c +++ b/test/CodeGen/instr-profile.c @@ -6,7 +6,7 @@ // this test. // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name instr-profile.c %s -o - -emit-llvm -fprofile-instr-generate | FileCheck -check-prefix=PGOGEN %s -// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name instr-profile.c %s -o - -emit-llvm -fprofile-instr-use=%S/Inputs/instr-profile.pgodata | FileCheck -check-prefix=PGOUSE %s +// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name instr-profile.c %s -o - -emit-llvm -fprofile-instr-use=%S/Inputs/instr-profile.profdata | FileCheck -check-prefix=PGOUSE %s // PGOGEN: @[[SLC:__llvm_pgo_ctr[0-9]*]] = private global [4 x i64] zeroinitializer // PGOGEN: @[[IFC:__llvm_pgo_ctr[0-9]*]] = private global [11 x i64] zeroinitializer diff --git a/test/CodeGenCXX/Inputs/instr-profile-class.pgodata b/test/CodeGenCXX/Inputs/instr-profile-class.profdata similarity index 100% rename from test/CodeGenCXX/Inputs/instr-profile-class.pgodata rename to test/CodeGenCXX/Inputs/instr-profile-class.profdata diff --git a/test/CodeGenCXX/Inputs/instr-profile-throws.pgodata b/test/CodeGenCXX/Inputs/instr-profile-throws.profdata similarity index 100% rename from test/CodeGenCXX/Inputs/instr-profile-throws.pgodata rename to test/CodeGenCXX/Inputs/instr-profile-throws.profdata diff --git a/test/CodeGenCXX/instr-profile-class.cpp b/test/CodeGenCXX/instr-profile-class.cpp index d7b4499d26..f23aac6f7c 100644 --- a/test/CodeGenCXX/instr-profile-class.cpp +++ b/test/CodeGenCXX/instr-profile-class.cpp @@ -11,7 +11,7 @@ // RUN: FileCheck --input-file=%tgen -check-prefix=MTHGEN %s // RUN: FileCheck --input-file=%tgen -check-prefix=WRPGEN %s -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-class.pgodata -fno-exceptions -target %itanium_abi_triple > %tuse +// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-class.profdata -fno-exceptions -target %itanium_abi_triple > %tuse // RUN: FileCheck --input-file=%tuse -check-prefix=CTRUSE %s // RUN: FileCheck --input-file=%tuse -check-prefix=DTRUSE %s // RUN: FileCheck --input-file=%tuse -check-prefix=MTHUSE %s diff --git a/test/CodeGenCXX/instr-profile-throws.cpp b/test/CodeGenCXX/instr-profile-throws.cpp index 33e02514e4..d25827c5e0 100644 --- a/test/CodeGenCXX/instr-profile-throws.cpp +++ b/test/CodeGenCXX/instr-profile-throws.cpp @@ -10,8 +10,8 @@ // RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN %s // RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN-EXC %s -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.pgodata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.pgodata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s +// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.profdata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s +// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.profdata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s // PGOGEN: @[[THC:__llvm_pgo_ctr[0-9]*]] = private global [9 x i64] zeroinitializer // PGOGEN-EXC: @[[THC:__llvm_pgo_ctr[0-9]*]] = private global [9 x i64] zeroinitializer