[PATCH] D97649: [InstrProfiling] Place __llvm_prf_vnodes and __llvm_prf_names in llvm.used on ELF

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 1 09:08:39 PST 2021


davidxl added inline comments.


================
Comment at: compiler-rt/test/profile/Linux/instrprof-value-merge.c:11
 
+// RUN: %clang_pgogen -o %t -O3 %s -fuse-ld=lld -ffunction-sections -fdata-sections -Wl,--gc-sections -z start-stop-gc
+// RUN: rm -rf %t.profdir
----------------
Can you add tests for other linkers with similar options?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97649



More information about the llvm-commits mailing list