Replace assert by explicit throw new AssertionError
Calling assert if shared RELRO config is illegal will not
catch this error, because assertions are generally inactive.
Replace assert with a log and explict throw AssertionError.
Shared RELRO config is a compile-time constant. It can only
be made illegal through serious coding error.
Review URL: https://codereview.chromium.org/1648713002
Cr-Commit-Position: refs/heads/master@{#372648}
CrOS-Libchrome-Original-Commit: 61defc5525dea54c1d74bd54c40f63974e25118b
1 file changed