[PATCH] D114565: [InstrProf] Attach debug info to counters

Ellis Hoag via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 30 16:41:40 PST 2021


ellis updated this revision to Diff 390855.
ellis added a comment.

Emit metadata as `ConstantAsMetadata` instead of the more complicated `DIExpression`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114565

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  compiler-rt/include/profile/InstrProfData.inc
  compiler-rt/lib/profile/InstrProfiling.c
  compiler-rt/lib/profile/InstrProfilingMerge.c
  compiler-rt/lib/profile/InstrProfilingWriter.c
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfData.inc
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/InstrProfWriter.cpp
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114565.390855.patch
Type: text/x-patch
Size: 20466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211201/78937900/attachment-0001.bin>


More information about the cfe-commits mailing list