[all-commits] [llvm/llvm-project] a23d4c: [lldb][llvm] Return an error instead of crashing w...
Greg Clayton via All-commits
all-commits at lists.llvm.org
Thu Feb 22 10:25:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a23d4ceb8866df91334750627827a1724363e755
https://github.com/llvm/llvm-project/commit/a23d4ceb8866df91334750627827a1724363e755
Author: Greg Clayton <gclayton at fb.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Log Message:
-----------
[lldb][llvm] Return an error instead of crashing when parsing a line table prologue. (#80769)
We recently ran into some bad DWARF where the `DW_AT_stmt_list` of many
compile units was randomly set to invalid values and was causing LLDB to
crash due to an assertion about address sizes not matching. Instead of
asserting, we should return an appropriate recoverable `llvm::Error`.
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