[PATCH] D57929: [InstrProf] Implement static profdata registration

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 15:35:03 PST 2019


davidxl added inline comments.


================
Comment at: compiler-rt/lib/profile/InstrProfilingPlatformOther.c:64
+   */
+  ptrdiff_t DataBytes = (const char *)DataLast - (const char *)DataFirst;
+  ptrdiff_t CounterBytes =
----------------
register function won't be called with static registration. Why is this change needed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D57929





More information about the llvm-commits mailing list