diff options
| author | Haohai Wen <haohai.wen@intel.com> | 2024-07-04 09:52:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-04 09:52:38 +0800 |
| commit | 73f5f83b192b0a27f7edae5365c247961d9f1bd9 (patch) | |
| tree | 02b8c410b3350f492edd6394e8416e23c78644c1 /lldb/test/API/python_api/thread/TestThreadAPI.py | |
| parent | a0c6b8aef853eedaa0980f07c0a502a5a8a9740e (diff) | |
[BasicBlockSections] Using MBBSectionID as DenseMap key (#97295)
getSectionIDNum may return same value for two different MBBSectionID.
e.g. A Cold type MBBSectionID with number 0 and a Default type
MBBSectionID with number 2 get same value 2 from getSectionIDNum. This
may lead to overwrite of MBBSectionRanges. Using MBBSectionID itself
as DenseMap key is better choice.
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions
