DescriptionReplace 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.
Committed: https://crrev.com/61defc5525dea54c1d74bd54c40f63974e25118b
Cr-Commit-Position: refs/heads/master@{#372648}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|