HomePhabricator

[DebugInfo] Replace unreachable with None

Description

[DebugInfo] Replace unreachable with None

Invalid user input should not trigger assertions and unreachables. We
already return an Option so we should just return None here.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5532

Details

Committed
JDevlieghereMar 12 2018, 7:45 AM
Parents
rL327273: [Hexagon] fix 'must explicitly initialize the const member' error which clang 3.
Branches
Unknown
Tags
Unknown