diff options
author | RamNalamothu <VenkataRamanaiah.Nalamothu@amd.com> | 2021-05-08 10:15:49 +0530 |
---|---|---|
committer | RamNalamothu <VenkataRamanaiah.Nalamothu@amd.com> | 2021-05-08 10:19:02 +0530 |
commit | 223852d76fccc85cc5a844feec94781e8c5320ff (patch) | |
tree | e49a3f972568a96ac47a6df02137a1ed90452f63 /llvm/lib/CodeGen/MachinePassManager.cpp | |
parent | 53b946aa636a31e9243b8c5bf1703a1f6eae798e (diff) | |
download | llvm-223852d76fccc85cc5a844feec94781e8c5320ff.zip llvm-223852d76fccc85cc5a844feec94781e8c5320ff.tar.gz llvm-223852d76fccc85cc5a844feec94781e8c5320ff.tar.bz2 |
[DebugInfo] UnwindTable::create() should not add empty rows to CFI unwind table
UnwindTable::parseRows() may return successfully if the CFIProgram has either
no CFI instructions or only DW_CFA_nop instructions and the UnwindRow return
argument will be empty. But currently, the callers are not checking for this case
which is leading to incorrect dumps in the unwind tables in such cases i.e.
CFA=unspecified
Reviewed By: clayborg
Differential Revision: https://reviews.llvm.org/D101892
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassManager.cpp')
0 files changed, 0 insertions, 0 deletions