diff options
author | Javier Lopez-Gomez <javier.lopez.gomez@proton.me> | 2025-09-19 12:44:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-19 12:44:52 +0200 |
commit | 4d197c89b53febbd4722f9923e511b7215825860 (patch) | |
tree | ac5b7bb9d27d7cb99ef34e377c9413efd6a9a1b0 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | f9c996856e84f64dd3c306916f238b713a4d777d (diff) | |
download | llvm-4d197c89b53febbd4722f9923e511b7215825860.zip llvm-4d197c89b53febbd4722f9923e511b7215825860.tar.gz llvm-4d197c89b53febbd4722f9923e511b7215825860.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions