summaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
author Vas Crabb <cuavas@users.noreply.github.com>2025-10-20 00:15:18 +1100
committer GitHub <noreply@github.com>2025-10-20 00:15:18 +1100
commit19c2d45952634c7588b18f3022a82a20c89300af (patch)
tree1e335a77124e622c290efdc78b86570dbd96b736 /docs
parent108b2f0606df6325037aee8ee8515d0f45f4a998 (diff)
Added support for generating PDB symbols with MinGW clang and lld. (#14352)
Also don't disable sibling/tail call optimisation when symbols are enabled. This is hurting our release builds since they're built with symbols.
Diffstat (limited to 'docs')
-rw-r--r--docs/source/initialsetup/compilingmame.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/initialsetup/compilingmame.rst b/docs/source/initialsetup/compilingmame.rst
index 1e467fff552..1dc59b8a6df 100644
--- a/docs/source/initialsetup/compilingmame.rst
+++ b/docs/source/initialsetup/compilingmame.rst
@@ -656,6 +656,14 @@ SYMLEVEL
similar compilers, **1** includes line number tables and external variables,
**2** also includes local variables, and **3** also includes macro
definitions.
+PDB_SYMBOLS
+ Set to **1** to generate CodeView format symbols in separate PDB files,
+ allowing source-level debugging using Microsoft VisualĀ Studio or WinDbg.
+ It can also be used with other tools that can load symbols from PDB files,
+ e.g. the Intel VTune and AMD µProf performance analysis tools. This option
+ is only supported for MinGW builds using the clang compiler and the LLVM
+ linker (lld). This option only takes effect if the **SYMBOLS** option is
+ set to a non-zero value.
ARCHOPTS
Additional command-line options to pass to the compiler and linker. This is
useful for supplying code generation or ABI options, for example to enable