diff options
| author | Enna1 <xumingjie.enna1@bytedance.com> | 2024-11-27 09:01:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 09:01:12 +0800 |
| commit | 4d2bc0adc63cf90111d849911ccdddaa0d886e60 (patch) | |
| tree | ce8843205073220232fca28d41452dd8bebba2dc /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | |
| parent | f2129ca94c47875b5f915abc9d7dfb02a7445fe6 (diff) | |
| download | llvm-4d2bc0adc63cf90111d849911ccdddaa0d886e60.zip llvm-4d2bc0adc63cf90111d849911ccdddaa0d886e60.tar.gz llvm-4d2bc0adc63cf90111d849911ccdddaa0d886e60.tar.bz2 | |
[BOLT] Extract comparator for sorting functions by index into helper function (#116217)
This change extracts the comparator for sorting functions by index into
a helper function `compareBinaryFunctionByIndex()`
Not sure why the comparator used in
`BinaryContext::getSortedFunctions()` is not same as the other two
places. I think they should use the same comparator, so I also change
`BinaryContext::getSortedFunctions()` to use
`compareBinaryFunctionByIndex()` for sorting functions.
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions
