BUG=chromium:686980
Change-Id: I0224093fbbffb2bac8a84c95a8370617c4df6978
Reviewed-on: https://swiftshader-review.googlesource.com/9309
Tested-by: Ivan Krasin <krasin@chromium.org>
Reviewed-by: Nicolas Capens <capn@google.com>
# https://crbug.com/686980
# This target relies on the linker to be smart and garbage collect unused symbols.
# It is not the case for LLD + ThinLTO, so we have to use this ugly workaround.
- cflags = ["-Xclang", "-fno-lto-unit"]
+ cflags = [
+ "-Xclang",
+ "-fno-lto-unit",
+ "-fno-whole-program-vtables",
+ "-fno-sanitize=cfi",
+ ]
}
configs -= [ "//build/config/compiler:chromium_code" ]