[PATCH] D50483: [SanitizerCoverage] Add associated metadata to PC guards.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 9 17:27:49 PDT 2018
eugenis added a comment.
There are more instances of !associated metadata used in this file on targets other than ELF. I don't know how that works, they should not have any effect, and AFAIK in MachO it means that the counters can be freely discarded.
As I understood, the runtime library relies on the fact that when the linker constructs sections for pcguards and for counters, it does that in the same order. This is not guaranteed.
https://reviews.llvm.org/D50483
More information about the llvm-commits
mailing list