DescriptionGN: Initialize Tool::defined_from_ in the constructor
set_defined_from() isn't called in some tests (e.g. those using TestWithScope),
thus calling defined_from() will only yield garbage, likely leading to a crash.
BUG=
Committed: https://crrev.com/fb7800730f213aba891c83df31b7183fc4cbcdc5
Cr-Commit-Position: refs/heads/master@{#423698}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|