mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
48a07cae49
This updates the instrumentation based profiling format so that when we have multiple functions with the same name (but different function hashes) we keep all of them instead of rejecting the later ones. There are a number of scenarios where this can come up where it's more useful to keep multiple function profiles: * Name collisions in unrelated libraries that are profiled together. * Multiple "main" functions from multiple tools built against a common library. * Combining profiles from different build configurations (ie, asserts and no-asserts) The profile format now stores the number of counters between the hash and the counts themselves, so that multiple sets of counts can be stored. Since this is backwards incompatible, I've bumped the format version and added some trivial logic to skip this when reading the old format. llvm-svn: 214585 |
||
---|---|---|
.. | ||
Inputs | ||
c-general.test | ||
compat.proftext | ||
count-mismatch.proftext | ||
general.proftext | ||
hash-mismatch.proftext | ||
lit.local.cfg | ||
multiple-inputs.test | ||
overflow.proftext | ||
raw-32-bits-be.test | ||
raw-32-bits-le.test | ||
raw-64-bits-be.test | ||
raw-64-bits-le.test | ||
raw-magic-but-no-header.test | ||
raw-two-profiles.test | ||
text-format-errors.test |