[llvm] 442d8e7 - [gn build] add a FIXME about using /Gw on win
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 16:12:16 PST 2020
Author: Nico Weber
Date: 2020-01-29T19:12:08-05:00
New Revision: 442d8e7a91c8f8841a22dcbee596b156fca2111d
URL: https://github.com/llvm/llvm-project/commit/442d8e7a91c8f8841a22dcbee596b156fca2111d
DIFF: https://github.com/llvm/llvm-project/commit/442d8e7a91c8f8841a22dcbee596b156fca2111d.diff
LOG: [gn build] add a FIXME about using /Gw on win
Added:
Modified:
llvm/utils/gn/build/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/build/BUILD.gn b/llvm/utils/gn/build/BUILD.gn
index b06ef9ad83e3..7947a367cf28 100644
--- a/llvm/utils/gn/build/BUILD.gn
+++ b/llvm/utils/gn/build/BUILD.gn
@@ -59,6 +59,7 @@ config("compiler_defaults") {
}
if (is_optimized) {
cflags += [
+ # FIXME: evaluate /Gw (not part of /O2)
"/O2",
"/Zc:inline",
]
More information about the llvm-commits
mailing list