[PATCH] D69740: [profile] Support counter relocation at runtime
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 14:26:31 PST 2019
vsk added inline comments.
================
Comment at: compiler-rt/lib/profile/InstrProfilingFile.c:97
+static int RuntimeCounterRelocation = 0;
static FILE *ProfileFile = NULL;
----------------
I believe this needs to be visible to InstrProfilingBuffer.c so that `__llvm_profile_get_padding_sizes_for_counters` can set the padding amounts to 0.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69740/new/
https://reviews.llvm.org/D69740
More information about the llvm-commits
mailing list