Make EH table optional in R2RDump
authorSimon Nattress <nattress@gmail.com>
Wed, 19 Sep 2018 17:24:02 +0000 (10:24 -0700)
committerSimon Nattress <nattress@gmail.com>
Fri, 21 Sep 2018 04:14:11 +0000 (21:14 -0700)
commit5c406b1ceb6cbad23f03aff238827b916f90ab5c
treee7936b93670a2524947735992af00664a7b3cb94
parent4774e93ebda5db3a077aae0941e9c24cae9c55fe
Make EH table optional in R2RDump

Ready-to-run binaries don't always have an EH table. Fix r2rdump so it doesn't crash if the table isn't present.

Commit migrated from https://github.com/dotnet/coreclr/commit/10e34eb55c3bb0a16969b45c97e12b275549ec20
src/coreclr/src/tools/r2rdump/R2RReader.cs