[PATCH] D132094: [profile] Create only prof header when no counters

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 27 11:41:35 PDT 2022


ellis added inline comments.


================
Comment at: compiler-rt/test/profile/Posix/instrprof-shared-empty-profile.test:29
+RUN: %clang_profgen -fprofile-list=%t-file.list -o %t-no-instr-instr -L%t.d -rpath %t.d -lt-instr  %S/../Inputs/instrprof-shared-main.c
+RUN: llvm-profdata show %t-no-instr-instr.profraw > %t.out
+RUN: FileCheck %s --check-prefix=HEADER-PROFILE < %t.out
----------------
I think you're missing the run command to produce this raw profile.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132094/new/

https://reviews.llvm.org/D132094



More information about the llvm-commits mailing list