diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-06-17 17:42:55 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-06-23 14:39:24 +0300 |
commit | 1e820e82b1438a52124512175a0e7c6f8d23e158 (patch) | |
tree | 661faf60b6353774e69cf6b1fa61f682be0ee248 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 01fee8dce549a7c3787655c48a35ce22168d87e2 (diff) | |
download | llvm-1e820e82b1438a52124512175a0e7c6f8d23e158.zip llvm-1e820e82b1438a52124512175a0e7c6f8d23e158.tar.gz llvm-1e820e82b1438a52124512175a0e7c6f8d23e158.tar.bz2 |
[DebugInfo/DWARF] - Do not hang when CFI are truncated.
Currently when the .eh_frame section is truncated so that
CFI instructions can't be read, it is possible to enter
an infinite loop.
It happens because `CFIProgram::parse` does not handle errors properly.
This patch fixes the issue.
Differential revision: https://reviews.llvm.org/D82017
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions