[all-commits] [llvm/llvm-project] 2fc0e2: [lldb][NativePDB] Sort function name and type base...
Zequan Wu via All-commits
all-commits at lists.llvm.org
Tue Sep 2 14:26:28 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fc0e2c888521489f4a286b0902a6896506f8d8e
https://github.com/llvm/llvm-project/commit/2fc0e2c888521489f4a286b0902a6896506f8d8e
Author: Zequan Wu <zequanwu at google.com>
Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths:
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Log Message:
-----------
[lldb][NativePDB] Sort function name and type basename maps deterministically. (#156530)
https://github.com/llvm/llvm-project/pull/153160 created those function
maps and uses default sort comparator which is not deterministic when
there are multiple entries with same name because llvm::sort is unstable
sort.
This fixes it by comparing the id value when tie happens and sort
`m_type_base_names` deterministically as well.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list