diff options
| author | Yifan Shen <aelitashen@fb.com> | 2020-08-04 13:31:44 -0700 |
|---|---|---|
| committer | Walter Erquinigo <waltermelon@fb.com> | 2020-08-04 13:31:44 -0700 |
| commit | e7af98680ad52ffc6d308ef63667ac6fb4bb16a7 (patch) | |
| tree | 4d9efc107479d03b52c4d0a05f9fda18d21f17df /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 95efea4b9310bb204a42fbf29abd4efa65647000 (diff) | |
[lldb-vscode ]Add Syntax Highlighting to Disassembly View
When lldb cannot find source file thus IDE renders a disassembly view, add syntax highlighting for constants, registers and final line comments for better debugging experience.
The original plain disassembly view looks like:
{F12401687}
An ideal view is like the screenshot attached.
{F12401515}
In this diff, the mimeType is a kind of media type for formatting the content in the response to a source request. Elements in the disassembly view, like constants, registers and final line comments are colored for highlighting.
A built-in support in the VSCode IDE for syntax highlighting will identify the which mimeType to apply and render the disassembly view as expected.
Reviewed By: wallace, clayborg
Differential Revision: https://reviews.llvm.org/D84555
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
