[profile] Convert tests to check 'target=...'
Part of the project to eliminate special handling for triples in lit expressions.
This commit is contained in:
parent
6d169089f6
commit
2f6439bcf9
@ -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
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
UNSUPPORTED: windows
|
||||
UNSUPPORTED: target={{.*windows.*}}
|
||||
|
||||
RUN: mkdir -p %t.d
|
||||
RUN: cd %t.d
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -4,4 +4,4 @@
|
||||
// RUN: %run %t
|
||||
|
||||
rpath isn't supported on Windows.
|
||||
UNSUPPORTED: windows
|
||||
UNSUPPORTED: target={{.*windows.*}}
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: target={{.*windows.*}}
|
||||
// REQUIRES: darwin
|
||||
// RUN: rm -rf %t.dir && mkdir -p %t.dir
|
||||
// RUN: cd %t.dir
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user