sandbox: Initialize sanitizer library for sandbox if using_sanitizer is set.
This variable is set to true in the build system if a sanitizer runtime is being linked. Since these are the exact circumstances in which we need to initialize the runtime library for sandboxing, have the sandbox initialization be controlled by this variable. This fixes an issue where we were failing to initialize the runtime for sandboxing if CFI diagnostics are enabled. Bug: 793560 Change-Id: I0c2fb922d2debe39a9bd0d6cc8ebf1b440e3ed63 Reviewed-on: https://chromium-review.googlesource.com/820450Reviewed-by:Tom Sepez <tsepez@chromium.org> Commit-Queue: Peter Collingbourne <pcc@chromium.org> Cr-Commit-Position: refs/heads/master@{#523202}
Showing
Please register or sign in to comment