[PATCH] D105445: [InstrProfiling] Use llvm.compiler.used if applicable for Mach-O

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 30 10:10:27 PDT 2021


vsk added a comment.

Thanks for tackling this.



================
Comment at: compiler-rt/test/profile/Darwin/coverage-linkage.cpp:9
+// RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s
+
+// CHECK:      {{.*}}external{{.*}}:
----------------
The behavior of linker optimizations with LTO enabled may be a bit different. Could you check this case (test/profile/instrprof-darwin-dead-strip.c has an example)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105445



More information about the llvm-commits mailing list