From 7142ae58cc2035231e5aeb840e12811e71704190 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Wed, 12 Dec 2018 16:32:35 -0500 Subject: [PATCH] Generate debug information during link with Windows-Clang Bug: skia: Change-Id: I09c2312c3678bdb1c48b427f446cb5865acb92a2 Reviewed-on: https://skia-review.googlesource.com/c/177074 Reviewed-by: Mike Klein Commit-Queue: Brian Osman --- gn/BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gn/BUILD.gn b/gn/BUILD.gn index c9bd49b4ed..a5083d607e 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -427,7 +427,9 @@ config("debug_symbols") { ] } else if (is_win) { cflags = [ "/Z7" ] - if (!is_clang) { + if (is_clang) { + ldflags = [ "/DEBUG" ] + } else { ldflags = [ "/DEBUG:FASTLINK" ] } } else {