[PATCH] D108811: [docs] Add DIA register instructions to Getting Started with Visual Studio page
Yaron Keren via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 27 03:10:36 PDT 2021
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG692ebe539537: [docs] Add DIA register instructions to Getting Started with Visual Studio page (authored by yaron.keren).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108811/new/
https://reviews.llvm.org/D108811
Files:
llvm/docs/GettingStartedVS.rst
Index: llvm/docs/GettingStartedVS.rst
===================================================================
--- llvm/docs/GettingStartedVS.rst
+++ llvm/docs/GettingStartedVS.rst
@@ -82,7 +82,7 @@
if you want to develop `lldb <https://lldb.llvm.org/>`_, selecting
**Download debug binaries** is useful.
7. Complete the Python installation.
-8. Run a "Developer Command Prompt for VS 2019" as administrator. This command
+8. Run a "Developer Command Prompt for VS 2019" **as administrator**. This command
prompt provides correct path and environment variables to Visual Studio and
the installed tools.
9. In the terminal window, type the commands:
@@ -96,7 +96,17 @@
install into a path containing spaces (e.g. ``c:\Documents and Settings\...``)
as it will fail.
-10. Install psutil and obtain LLVM source code:
+10. Register the Microsoft Debug Interface Access (DIA) DLLs
+
+ .. code-block:: bat
+
+ regsvr32 "%VSINSTALLDIR%\DIA SDK\bin\msdia140.dll"
+ regsvr32 "%VSINSTALLDIR%\DIA SDK\bin\amd64\msdia140.dll"
+
+ The DIA library is required for LLVM PDB tests and
+ `LLDB development <https://lldb.llvm.org/resources/build.html>`_.
+
+11. Install psutil and obtain LLVM source code:
.. code-block:: bat
@@ -108,7 +118,7 @@
Select the last link: ``Source code (zip)`` and unpack the downloaded file using
Windows Explorer built-in zip support or any other unzip tool.
-11. Finally, configure LLVM using CMake:
+12. Finally, configure LLVM using CMake:
.. code-block:: bat
@@ -143,7 +153,7 @@
want to use the 64-bit toolset, pass the ``-Thost=x64`` flag when
generating the Visual Studio solution. This requires CMake 3.8.0 or later.
-12. Start Visual Studio and select configuration:
+13. Start Visual Studio and select configuration:
In the directory you created the project files will have an ``llvm.sln``
file, just double-click on that to open Visual Studio. The default Visual
@@ -155,7 +165,7 @@
compiler flags, disabling optimization and enabling debug information, only
for specific librares or source files you actually need to debug.
-13. Test LLVM in Visual Studio:
+14. Test LLVM in Visual Studio:
You can run LLVM tests by merely building the project "check-all". The test
results will be shown in the VS output window. Once the build succeeds, you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108811.369058.patch
Type: text/x-patch
Size: 2367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210827/b10b850b/attachment.bin>
More information about the llvm-commits
mailing list