[PATCH] D57530: Order File Instrumentation: dump the data in compiler-rt
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 28 16:12:44 PST 2019
davidxl added inline comments.
================
Comment at: test/profile/instrprof-order-file.test:4
+//
+// RUN: %clang -forder-file-instrumentation -O1 -o %t.2 %S/Inputs/instrprof-order-file-2.c %S/Inputs/instrprof-order-file.c -mllvm -orderfile-write-mapping="mapping.txt"
+// RUN: %run %t.2 ANY
----------------
is this option -forder-file-instrumentation already available in clang?
================
Comment at: test/profile/instrprof-order-file.test:6
+// RUN: %run %t.2 ANY
+// RUN: od -h default.profraw.order | FileCheck %s
+// RUN: cat mapping.txt | FileCheck %s --check-prefix=MAPPING
----------------
is 'od' portable? maybe exclude it for windows?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57530/new/
https://reviews.llvm.org/D57530
More information about the llvm-commits
mailing list