summaryrefslogtreecommitdiff
path: root/test/profile/Linux/comdat_rename.test
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-09-23 17:40:40 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-09-23 17:40:40 +0000
commitc58c8bb0d0ce75aaf69ffcd2ca297a16cea1c11f (patch)
treecd6b1d1d24b0d53222b9e0c1db54d4e94d90e967 /test/profile/Linux/comdat_rename.test
parent5ab88bf41c4f7966f23e34cd28bfd1c3ed6840de (diff)
Fix the following tests when running under cross-compilation:
Profile-aarch64 :: Linux/comdat_rename.test Profile-aarch64 :: Linux/extern_template.test Profile-aarch64 :: Linux/instrprof-comdat.test Profile-aarch64 :: Linux/instrprof-cs.c The issue is that the created (aarch64) binaries were attempting to run natively instead of running through %run, which guarantees running in the proper environment if the compilation was configured correctly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@282264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/Linux/comdat_rename.test')
-rw-r--r--test/profile/Linux/comdat_rename.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/Linux/comdat_rename.test b/test/profile/Linux/comdat_rename.test
index 116b5dc65..cd5c672de 100644
--- a/test/profile/Linux/comdat_rename.test
+++ b/test/profile/Linux/comdat_rename.test
@@ -1,6 +1,6 @@
// RUN: rm -fr %t.prof
// RUN: %clangxx_pgogen=%t.prof/ -o %t.gen -O2 %S/../Inputs/comdat_rename_1.cc %S/../Inputs/comdat_rename_2.cc
-// RUN: %t.gen
+// RUN: %run %t.gen
// RUN: llvm-profdata merge -o %t.profdata %t.prof/
// RUN: %clangxx_profuse=%t.profdata -O2 -emit-llvm -S %S/../Inputs/comdat_rename_1.cc -o - | FileCheck %S/../Inputs/comdat_rename_1.cc
// RUN: %clangxx_profuse=%t.profdata -O2 -emit-llvm -S %S/../Inputs/comdat_rename_2.cc -o - | FileCheck %S/../Inputs/comdat_rename_2.cc