DescriptionTurn off -Wl,-z,defs and -fno-rtti when building with CFI diagnostics.
The CFI diagnostic mode requires a runtime library, so we need to disable
-Wl,-z,defs in order to allow DSOs to link with undefined references to the
runtime library, as we do for the other sanitizers which require runtime
libraries.
The diagnostic mode can also issue better diagnostics if RTTI is enabled,
so enable RTTI if the diagnostic mode is enabled.
BUG=512614
R=thakis@chromium.org
Committed: https://crrev.com/7f19422b7c2f1ecb2541a510321c9ae9ed1886ca
Cr-Commit-Position: refs/heads/master@{#342955}
Patch Set 1 #Patch Set 2 : Also turn of -fno-rtti #
Total comments: 5
Messages
Total messages: 14 (1 generated)
|