
NFC processing time script identifies tests by output filename. When `/dev/null` is used as output filename, we're unable to tell the source test, and the reports are unhelpful. Replace `/dev/null/` with `%t.null` which resolves the issue.
14 lines
552 B
C
14 lines
552 B
C
/* This test checks the handling of YAML profile with different block orders.
|
|
# RUN: %clang %cflags %s -o %t.exe
|
|
# RUN: link_fdata %s %t.exe %t.fdata
|
|
# RUN: llvm-bolt %t.exe -o %t.null -data %t.fdata -w %t.yaml
|
|
# RUN: FileCheck %s --input-file %t.yaml --check-prefix=CHECK-BINARY
|
|
# CHECK-BINARY: dfs-order: false
|
|
# RUN: llvm-bolt %t.exe -o %t.null -data %t.fdata -w %t.yaml --profile-use-dfs
|
|
# RUN: FileCheck %s --input-file %t.yaml --check-prefix=CHECK-DFS
|
|
# CHECK-DFS: dfs-order: true
|
|
|
|
# FDATA: 0 [unknown] 0 1 main 0 0 0
|
|
*/
|
|
int main() { return 0; }
|