aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorMarios Staikopoulos <marios@staik.net>2021-01-10 14:52:46 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2021-01-17 21:03:35 +0000
commita3d8dc546c1a83f9e99f729ed5966d0e95581ac2 (patch)
tree1dfcf0ccc0a9712827a3a78eb2d4a7c4b9b074b1 /mesonbuild/compilers
parent903c8716e373f829ef1d48712b26ad61d576436b (diff)
downloadmeson-a3d8dc546c1a83f9e99f729ed5966d0e95581ac2.zip
meson-a3d8dc546c1a83f9e99f729ed5966d0e95581ac2.tar.gz
meson-a3d8dc546c1a83f9e99f729ed5966d0e95581ac2.tar.bz2
Removal of /ZI on MSVC Debug
The /ZI flag adds in "Edit and Continue" debug information, which will cause massive slowdown. It is not a flag that we should be adding by default to debug builds. /Zi will still be added.
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/mixins/visualstudio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/mixins/visualstudio.py b/mesonbuild/compilers/mixins/visualstudio.py
index 92f4fcd..61ee7cf 100644
--- a/mesonbuild/compilers/mixins/visualstudio.py
+++ b/mesonbuild/compilers/mixins/visualstudio.py
@@ -62,14 +62,14 @@ vs64_instruction_set_args = {
msvc_buildtype_args = {
'plain': [],
- 'debug': ["/ZI", "/RTC1"],
+ 'debug': ["/RTC1"],
'debugoptimized': [],
'release': [],
'minsize': [],
'custom': [],
} # type: T.Dict[str, T.List[str]]
-# Clang-cl doesn't have /ZI, and /Zi and /Z7 do the same thing
+# Clang-cl /Zi and /Z7 do the same thing
# quoting the docs (https://clang.llvm.org/docs/MSVCCompatibility.html):
#
# Clang emits relatively complete CodeView debug information if /Z7 or /Zi is