[debuginfo-tests] 3ebcef4 - [Dexter] add visual studio 2019 debugger support
Tom Weaver via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 08:58:03 PST 2020
Author: Nabeel Omer
Date: 2020-11-04T16:57:19Z
New Revision: 3ebcef4b737746bd8c60ff77b53f4fc79ac4b4d8
URL: https://github.com/llvm/llvm-project/commit/3ebcef4b737746bd8c60ff77b53f4fc79ac4b4d8
DIFF: https://github.com/llvm/llvm-project/commit/3ebcef4b737746bd8c60ff77b53f4fc79ac4b4d8.diff
LOG: [Dexter] add visual studio 2019 debugger support
Adds visual studio debugger support to dexter via option --debugger vs2019
Differential Revision: https://reviews.llvm.org/D89803
Author: Nabeel Omer <nabeel.omer at sony.com>
Added:
debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
Modified:
debuginfo-tests/dexter/dex/debugger/Debuggers.py
Removed:
################################################################################
diff --git a/debuginfo-tests/dexter/dex/debugger/Debuggers.py b/debuginfo-tests/dexter/dex/debugger/Debuggers.py
index 06c115d85bf1..1fa433de445c 100644
--- a/debuginfo-tests/dexter/dex/debugger/Debuggers.py
+++ b/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 @@ def _get_potential_debuggers(): # noqa
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
}
diff --git a/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py b/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
new file mode 100644
index 000000000000..9ebe0a0dee3e
--- /dev/null
+++ b/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'
More information about the llvm-commits
mailing list