Commit f1bb41bd authored by Wez's avatar Wez Committed by Commit Bot

[fuchsia] Enable shadow-call-stack for all targets.

Bug: fuchsia:27339, 821951
Change-Id: If685fd9817f8dae8671634f3798a655ddb2ba392
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863774
Auto-Submit: Wez <wez@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709978}
parent a65c7863
...@@ -51,7 +51,11 @@ config("compiler") { ...@@ -51,7 +51,11 @@ config("compiler") {
# TODO(crbug.com/821951): Clang enables SafeStack by default when targeting # TODO(crbug.com/821951): Clang enables SafeStack by default when targeting
# Fuchsia, but it breaks some tests, notably in V8. # Fuchsia, but it breaks some tests, notably in V8.
cflags += [ "-fno-sanitize=safe-stack" ] # Force the toolchain to use shadow-call-stack instead, until that is default.
cflags += [
"-fno-sanitize=safe-stack",
"-fsanitize=shadow-call-stack",
]
libs = [ "zircon" ] libs = [ "zircon" ]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment