diff options
author | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-06-21 11:25:14 -0400 |
---|---|---|
committer | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-06-21 13:25:10 -0400 |
commit | 1704c8d1047d75e0f17736de146281d68fe7b203 (patch) | |
tree | f624d086c79cfcc402c67d1b1cee58f925810d12 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 54db162429c69f55ee2a27e852fc02e7c750829a (diff) | |
download | llvm-1704c8d1047d75e0f17736de146281d68fe7b203.zip llvm-1704c8d1047d75e0f17736de146281d68fe7b203.tar.gz llvm-1704c8d1047d75e0f17736de146281d68fe7b203.tar.bz2 |
[lldb][MachO] Fix section type recognition for new DWARF 5 sections
When LLDB needs to access a debug section, it generally calls
SectionList::FindSectionByType with the corresponding type (we have one type for
each DWARF section). However, the missing entries made some sections be
classified as "eSectionTypeOther", which makes all calls to `FindSectionByType`
fail.
With this patch, a check-lldb build with
`-DLLDB_TEST_USER_ARGS=--dwarf-version=5` reports a much lower number of
failures:
Unsupported : 327
Passed : 2423
Expectedly Failed: 16
Unresolved : 2
Failed : 52
This is down from previously 400~ failures.
Differential Revision: https://reviews.llvm.org/D153433
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions