diff options
author | Greg Clayton <gclayton@fb.com> | 2024-02-22 10:25:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 10:25:05 -0800 |
commit | a23d4ceb8866df91334750627827a1724363e755 (patch) | |
tree | 5dc41194e8c66cabea2bbc8dfb84a72962475a8e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2e7cacfced573283d5424830f20333e2a6731251 (diff) | |
download | llvm-a23d4ceb8866df91334750627827a1724363e755.zip llvm-a23d4ceb8866df91334750627827a1724363e755.tar.gz llvm-a23d4ceb8866df91334750627827a1724363e755.tar.bz2 |
[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`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions