llvm-project
4d197c89 - [llvm-debuginfo-analyzer] Add `--output-sort=(none|id)` option (#145761)

Commit
88 days ago
[llvm-debuginfo-analyzer] Add `--output-sort=(none|id)` option (#145761) - The output for `--output-sort=id` matches `--output-sort=offset` for the available readers. Tests were updated accordingly. - For `--output-sort=none`, and per `LVReader::sortScopes()`, `LVScope::sort()` is called on the root scope. `LVScope::sort()` has no effect if `getSortFunction() == nullptr`, and thus the elements are currently traversed in the order in which they were initially added. This should change, however, after `LVScope::Children` is removed.
Author
Parents
Loading