google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.66k stars 337 forks source link

add_range: Replace THROW with WARN for early return #365

Closed erick-pfeifer closed 9 months ago

erick-pfeifer commented 9 months ago

Replaces THROW statement from the RangeSink::AddRange function, to WARN, when the translator CoversRange test fails. This will allow for the operation to resume, while ignoring those failing ranges, instead of throwing an exception.

google-cla[bot] commented 9 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.