Doc: Describe highlighting source lines matching assembly code

...in Compiler Explorer

Task-number: QTCREATORBUG-30209
Change-Id: I91d9e82ee8fac0ddb3196a39f9f5f0baf1cac184
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Leena Miettinen
2024-02-14 13:00:41 +01:00
parent 0a1783d656
commit c38c0fc863

View File

@@ -1,20 +1,20 @@
// Copyright (C) 2023 The Qt Company Ltd. // Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*! /*!
\page creator-how-to-create-compiler-explorer-sessions.html \page creator-how-to-create-compiler-explorer-sessions.html
\previouspage creator-how-tos.html \previouspage creator-how-tos.html
\ingroup creator-how-to-projects-files \ingroup creator-how-to-analyze
\title Create compiler explorer sessions \title Create compiler explorer sessions
To create a compiler explorer session for a C++ or Python project: To create a compiler explorer session for a C++ or Python project:
\list 1 \list 1
\li Select \uicontrol File > \uicontrol {New File} > \li Go to \uicontrol File > \uicontrol {New File}.
\uicontrol {Compiler Explorer} > \uicontrol C++ or \uicontrol Python \li Select \uicontrol {Compiler Explorer} > \uicontrol C++ or
> \uicontrol Choose. \uicontrol Python > \uicontrol Choose.
\li Follow the instructions of the wizard to create an example \li Follow the instructions of the wizard to create an example
compiler explorer session as a JSON-based \c .qtce file and to open compiler explorer session as a JSON-based \c .qtce file and to open
it. it.
@@ -29,7 +29,7 @@
\page creator-how-to-explore-compiler-code.html \page creator-how-to-explore-compiler-code.html
\previouspage creator-how-tos.html \previouspage creator-how-tos.html
\ingroup creator-how-to-build \ingroup creator-how-to-analyze
\title Explore compiler code \title Explore compiler code
@@ -45,7 +45,7 @@
To check how a compiler sees C++ or Python code: To check how a compiler sees C++ or Python code:
\list 1 \list 1
\li Select \uicontrol Tools > \uicontrol {Compiler Explorer} > \li Go to \uicontrol Tools > \uicontrol {Compiler Explorer} >
\uicontrol {Open Compiler Explorer}. \uicontrol {Open Compiler Explorer}.
\li In the \uicontrol Language field, select the language to compile. \li In the \uicontrol Language field, select the language to compile.
\li In the \uicontrol Compiler field, select a compiler to see the \li In the \uicontrol Compiler field, select a compiler to see the
@@ -53,6 +53,9 @@
\li Enter code to see the resulting assembly code. \li Enter code to see the resulting assembly code.
\endlist \endlist
Hover the mouse over the assembly code, to have the matching source lines
highlighted.
You can also see the application status and output. You can also see the application status and output.
To explore several compilers, select \uicontrol {Add Compiler}. To explore several compilers, select \uicontrol {Add Compiler}.