[profile] Convert tests to check 'target=...'

Part of the project to eliminate special handling for triples in lit
expressions.
This commit is contained in:
Paul Robinson 2022-12-19 09:43:59 -08:00
parent 6d169089f6
commit 2f6439bcf9
11 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/// atexit(3) not supported in dlopen(3)ed+dlclose(3)d DSO
// XFAIL: netbsd
// XFAIL: target={{.*netbsd.*}}
// RUN: mkdir -p %t.d && cd %t.d

View File

@ -1,4 +1,4 @@
UNSUPPORTED: windows
UNSUPPORTED: target={{.*windows.*}}
RUN: mkdir -p %t.d
RUN: cd %t.d

View File

@ -13,7 +13,7 @@ RUN: llvm-profdata merge -o %t-icall2.profdata %t-icall2.profraw
RUN: %clangxx_profuse=%t-icall2.profdata -O2 -Rpass=pgo-icall-prom -c -o %t.2.use.o %S/Inputs/instrprof-icall-promo_2.cpp 2>&1 | FileCheck %s
FIXME: Relies on vtable layout
XFAIL: msvc
XFAIL: target={{.*msvc.*}}
# CHECK: Promote indirect call to

View File

@ -3,7 +3,7 @@
// RUN: llvm-profdata show --all-functions --counts %t.profraw | FileCheck %s
// FIXME: llvm-profdata exits with "Malformed instrumentation profile data"
// XFAIL: msvc
// XFAIL: target={{.*msvc.*}}
#include "profile_test.h"
#include <stdint.h>

View File

@ -4,4 +4,4 @@
// RUN: %run %t
rpath isn't supported on Windows.
UNSUPPORTED: windows
UNSUPPORTED: target={{.*windows.*}}

View File

@ -3,7 +3,7 @@
// RUN: llvm-profdata show --all-functions --counts %t.profraw | FileCheck %s
// FIXME: llvm-profdata exits with "Malformed instrumentation profile data"
// XFAIL: msvc
// XFAIL: target={{.*msvc.*}}
#include <stdint.h>
#include <stdio.h>

View File

@ -1,4 +1,4 @@
// UNSUPPORTED: windows
// UNSUPPORTED: target={{.*windows.*}}
// 1) Compile shared code into different object files and into an executable.
// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %s -c -o %t.v1.o \

View File

@ -1,4 +1,4 @@
// UNSUPPORTED: windows
// UNSUPPORTED: target={{.*windows.*}}
// REQUIRES: darwin
// RUN: rm -rf %t.dir && mkdir -p %t.dir
// RUN: cd %t.dir

View File

@ -1,4 +1,4 @@
// UNSUPPORTED: windows
// UNSUPPORTED: target={{.*windows.*}}
// RUN: %clang_pgogen -o %t.bin %s -DTESTPATH=\"%t.dir\"
// RUN: rm -rf %t.dir
// RUN: %run %t.bin

View File

@ -7,7 +7,7 @@
// This usage of llvm-nm assumes executables have symbol tables. They do not in
// an MSVC environment, so we can't make this test portable.
// UNSUPPORTED: msvc
// UNSUPPORTED: target={{.*msvc.*}}
#include <stdint.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
// UNSUPPORTED: windows
// UNSUPPORTED: target={{.*windows.*}}
// The sanitizer-windows bot is saying:
// instrprof-write-buffer-internal.c.tmp.buf.profraw: Invalid instrumentation profile data (file header is corrupt)