[Fuchsia] Stop enabling shadow-call-stack explicitly
shadow-call-stack is enabled by default on Fuchsia now, so we no longer need to enable it explicitly. Bug: 821951 Change-Id: I221bc557bf93dfd5bf7c1659f7f8dfc32129c6b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898631 Commit-Queue: Wez <wez@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#714312} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 3ee16746bdf236c99f485ba4cf3d3d90f265ab03
This commit is contained in:
Родитель
407a2144e3
Коммит
554ad7f98a
|
@ -49,14 +49,6 @@ config("compiler") {
|
|||
# Add SDK lib dir for -lfdio above.
|
||||
lib_dirs = [ "${fuchsia_sdk}/arch/${current_cpu}/lib" ]
|
||||
|
||||
# TODO(crbug.com/821951): Clang enables SafeStack by default when targeting
|
||||
# Fuchsia, but it breaks some tests, notably in V8.
|
||||
# Force the toolchain to use shadow-call-stack instead, until that is default.
|
||||
cflags += [
|
||||
"-fno-sanitize=safe-stack",
|
||||
"-fsanitize=shadow-call-stack",
|
||||
]
|
||||
|
||||
libs = [ "zircon" ]
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче