llvm-project
03bbd04b - [BOLT][NFCI] Skip validation in parseLBRSample (#143288)

Commit
149 days ago
[BOLT][NFCI] Skip validation in parseLBRSample (#143288) Parsed branches and fall-throughs are validated in `doBranch` and `doTrace` respectively. Simplify parseLBRSample by omitting the validation. This also speeds up perf data processing as checks are only done once for aggregated branches/fall-throughs and not individual LBR entries. Since invalid/external addresses are no longer sanitized during parsing, sanitize them in `doBranch`. Test Plan: updated X86/pre-aggregated-perf.test
Author
Parents
Loading