Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vid512 committed Jan 5, 2025
1 parent be8a663 commit e845780
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/markdown/Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -862,9 +862,12 @@ version.
## DIA SDK

*(added 1.6.0)*
*(mstorsjo/msvc-wine environment supported since 1.7.0)*

Microsoft's Debug Interface Access SDK (DIA SDK) is available only on Windows,
when using msvc, clang-cl or clang compiler from Microsoft Visual Studio.
You can also use it when cross-compiling for Windows using mstorsjo/msvc-wine
build environment.

The DIA SDK runtime is not statically linked to target. The default usage
method requires the runtime DLL (msdiaXXX.dll) to be manually registered in the
Expand All @@ -882,7 +885,7 @@ fs = import('fs')
fs.copyfile(dia.get_variable('dll'))
conf = configuration_data()
conf.set('msdia_dll_name', fs.name(dia_dll_name))
conf.set('msdia_dll_name', fs.name(dia.get_variable('dll')))
```

Only the major version is available (eg. version is `14` for msdia140.dll).
Expand Down
6 changes: 6 additions & 0 deletions docs/markdown/snippets/diasdk-msvc-wine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Added support for DIA SDK on linux via msvc-wine

Microsoft DIA SDK library (for reading with .PDB files) can now be
used when cross-compiling on linux with mstorsjo/msvc-wine
environment. Both compiling with native clang and MSVC cl over
wine are supported.

0 comments on commit e845780

Please sign in to comment.