GNU: do not read the FDE count if omitted
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 20 Oct 2017 18:47:35 +0000 (18:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 20 Oct 2017 18:47:35 +0000 (18:47 +0000)
commitf7596ece76570794f4fc89a65b49857b8c8570f1
tree951efc380bd66eb41baf8c8b68370cc060d07b88
parentbb94161fb7ae50c102b0fb3e8c3a1d33b3a237f7
GNU: do not read the FDE count if omitted

If there is no binary search table computed, the FDECount encoding is
DW_EH_PE_omit.  Do not attempt to read the FDECount in such a situation
as we will read an incorrect value.  binutils only writes out the
FDECount if the encoding is not DW_EH_PE_omit.

llvm-svn: 316224
libunwind/src/EHHeaderParser.hpp