[PATCH] D89803: [dexter] Add support for Visual Studio 2019 to Dexter
Tom Weaver via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 08:58:05 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3ebcef4b7377: [Dexter] add visual studio 2019 debugger support (authored by n-omer, committed by TWeaver).
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89803/new/
https://reviews.llvm.org/D89803
Files:
debuginfo-tests/dexter/dex/debugger/Debuggers.py
debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
Index: debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
===================================================================
--- /dev/null
+++ debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
@@ -0,0 +1,23 @@
+# DExTer : Debugging Experience Tester
+# ~~~~~~ ~ ~~ ~ ~~
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+"""Specializations for the Visual Studio 2019 interface."""
+
+from dex.debugger.visualstudio.VisualStudio import VisualStudio
+
+
+class VisualStudio2019(VisualStudio):
+ @classmethod
+ def get_name(cls):
+ return 'Visual Studio 2019'
+
+ @classmethod
+ def get_option_name(cls):
+ return 'vs2019'
+
+ @property
+ def _dte_version(self):
+ return 'VisualStudio.DTE.16.0'
Index: debuginfo-tests/dexter/dex/debugger/Debuggers.py
===================================================================
--- debuginfo-tests/dexter/dex/debugger/Debuggers.py
+++ debuginfo-tests/dexter/dex/debugger/Debuggers.py
@@ -27,6 +27,7 @@
from dex.debugger.lldb.LLDB import LLDB
from dex.debugger.visualstudio.VisualStudio2015 import VisualStudio2015
from dex.debugger.visualstudio.VisualStudio2017 import VisualStudio2017
+from dex.debugger.visualstudio.VisualStudio2019 import VisualStudio2019
def _get_potential_debuggers(): # noqa
@@ -38,7 +39,8 @@
DbgEng.get_option_name(): DbgEng,
LLDB.get_option_name(): LLDB,
VisualStudio2015.get_option_name(): VisualStudio2015,
- VisualStudio2017.get_option_name(): VisualStudio2017
+ VisualStudio2017.get_option_name(): VisualStudio2017,
+ VisualStudio2019.get_option_name(): VisualStudio2019
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89803.302863.patch
Type: text/x-patch
Size: 1858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201104/74d74fd8/attachment.bin>
More information about the llvm-commits
mailing list