[PATCH] D105176: [InstrProfiling] Use external weak reference for bias variable

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 17:28:44 PDT 2021


phosek updated this revision to Diff 355734.
phosek retitled this revision from "[InstrProfiling] Use external linkage for bias variable" to "[InstrProfiling] Use external weak reference for bias variable".
phosek edited the summary of this revision.
phosek added a comment.
Herald added subscribers: Sanitizers, mgorny.
Herald added a project: Sanitizers.

After an offline discussion with @mcgrathr we've decided to switch to external weak reference for the bias variable which is a cleaner solution.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105176

Files:
  compiler-rt/lib/profile/CMakeLists.txt
  compiler-rt/lib/profile/InstrProfiling.h
  compiler-rt/lib/profile/InstrProfilingBiasVar.c
  compiler-rt/lib/profile/InstrProfilingFile.c
  compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105176.355734.patch
Type: text/x-patch
Size: 4945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210701/8f6faa82/attachment.bin>


More information about the llvm-commits mailing list