summaryrefslogtreecommitdiff
path: root/test/passes/strip-target-features_roundtrip_print-features_all-features.txt
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-11-20 10:43:52 -0800
committerGitHub <noreply@github.com>2020-11-20 10:43:52 -0800
commit68294338a1cc7337e808671e75933b1134d18a90 (patch)
tree3266b2af930177121d9dd8ad4851f6778ab08f4f /test/passes/strip-target-features_roundtrip_print-features_all-features.txt
parent171cba44fe6fdaff63fff79d2c660b02d7a79747 (diff)
downloadbinaryen-68294338a1cc7337e808671e75933b1134d18a90.tar.gz
binaryen-68294338a1cc7337e808671e75933b1134d18a90.tar.bz2
binaryen-68294338a1cc7337e808671e75933b1134d18a90.zip
[wasm-split] Initial instrumentation (#3389)
Implement an instrumentation pass that records the timestamp at which each defined function is first called. Timestamps are not actual time, but rather snapshots of a monotonically increasing counter. The instrumentation exports a function that the embedder can call to dump the profile data into a memory buffer at a given offset and size. The function returns the total size of the profile data so the embedder can know how much to read out of the buffer or how much it needs to grow the buffer. Parsing and using the profile is left as future work, as is recording a hash of the input file that will be used to guard against accidentally instrumenting one module and trying to use the resulting profile to split a different module.
Diffstat (limited to 'test/passes/strip-target-features_roundtrip_print-features_all-features.txt')
0 files changed, 0 insertions, 0 deletions