-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp how source listing is produced so it works for inlined functio…
…ns. (#599) * Revamp how source listing is produced so it works for inlined functions. Some other things improved due to these changes: 1. Produced output does not contain long runs of uninteresting source. 2. Speed of producing weblist page for a large binary goes from ~ 57s to ~ 5.5s. * use keyed literals to satisfy extra checks * Fix up file names for Windows (to use backslash instead of slash as separator). * Fix nil dereference when we attempt to close after encountering a missing object file * Limit number of address ranges we process to avoid unbounded hangs Stop printing address ranges after processing 25 of them. These ranges are sorted by the number of samples that fell within them. Change back to printing inner-most file:line next to an instruction to reduce caller/callee confusion. * Fix comment typo Co-authored-by: Alexey Alexandrov <aalexand@users.noreply.github.com>
- Loading branch information
Showing
8 changed files
with
669 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.