We have "-profile-isfs" internal option for text, binary, and compactbinary format (mostly for debug and test purpose).
We need to set the related flag in FunctionSamples so that ProfileIsFS is written to the header in extbinary format.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Wenlei / Hongtao / Lei,
Wei committed the FSAFDO tool part of change to GitHub yesterday. Sorry for
taking so long.
I'm wondering if you can port the change to llvm-profgen and do some
experiments with FSAFDO. Let me know if there anything that I can help with.
Best regards,
-Rong
llvm/lib/ProfileData/SampleProfReader.cpp | ||
---|---|---|
254 | Writes to the static data member ProfileIsFS is racy: ThinLTO may creates multiple InProcessThinBackend instances and backends may run the code concurrently. |
Writes to the static data member ProfileIsFS is racy: ThinLTO may creates multiple InProcessThinBackend instances and backends may run the code concurrently.