aboutsummaryrefslogtreecommitdiff
path: root/lld/docs/windows_support.rst
diff options
context:
space:
mode:
Diffstat (limited to 'lld/docs/windows_support.rst')
-rw-r--r--lld/docs/windows_support.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/lld/docs/windows_support.rst b/lld/docs/windows_support.rst
index 620040ee8196..e4640b4a5259 100644
--- a/lld/docs/windows_support.rst
+++ b/lld/docs/windows_support.rst
@@ -95,3 +95,14 @@ Using Ninja
1. Check out LLVM and LLD from the LLVM SVN repository (or Git mirror),
#. run ``cmake -G ninja <llvm-source-dir>`` from VS command prompt,
#. run ``ninja lld``
+
+Extensions
+==========
+
+LLD flags
+---------
+
+* ``/build-id``: Always generate GUID hash. When PDB is generated, LLD uses PDB
+ content hash for GUID. Otherwise, LLD uses output binary content hash for GUID.
+ LLD also provides ``__buildid`` symbol pointing to the 16 bytes GUID hash if
+ there is a reference to it.