[Lldb-commits] [lldb] r353709 - [build.py] Add `-fms-compatibility-version=19` to `build.py`
Aleksandr Urakov via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 11 07:13:33 PST 2019
Author: aleksandr.urakov
Date: Mon Feb 11 07:13:33 2019
New Revision: 353709
URL: http://llvm.org/viewvc/llvm-project?rev=353709&view=rev
Log:
[build.py] Add `-fms-compatibility-version=19` to `build.py`
Summary:
`clang-cl` can't compile tests containing `char16_t` and `char32_t` types
without the MSVC compatibility option passed. This patch adds the option to the
`clang-cl` call in the `build.py` script by default.
Reviewers: zturner, labath, stella.stamenova, serge-sans-paille
Reviewed By: labath
Subscribers: lldb-commits, leonid.mashinskiy
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D57809
Modified:
lldb/trunk/lit/helper/build.py
Modified: lldb/trunk/lit/helper/build.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/helper/build.py?rev=353709&r1=353708&r2=353709&view=diff
==============================================================================
--- lldb/trunk/lit/helper/build.py (original)
+++ lldb/trunk/lit/helper/build.py Mon Feb 11 07:13:33 2019
@@ -564,6 +564,7 @@ class MsvcBuilder(Builder):
if self.toolchain_type == 'clang-cl':
args.append('-Xclang')
args.append('-fkeep-static-consts')
+ args.append('-fms-compatibility-version=19')
args.append('/c')
args.append('/Fo' + obj)
More information about the lldb-commits
mailing list