summaryrefslogtreecommitdiff
path: root/docs/LangRef.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/LangRef.rst')
-rw-r--r--docs/LangRef.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index ce0676fc7b..49e2295fe2 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -2628,10 +2628,10 @@ For example, the following metadata section specifies two separate sets of
linker options, presumably to link against ``libz`` and the ``Cocoa``
framework::
- !0 = metadata !{ i32 6, "Linker Options",
+ !0 = metadata !{ i32 6, metadata !"Linker Options",
metadata !{
- !metadata { metadata !"-lz" },
- !metadata { metadata !"-framework", metadata !"Cocoa" } } }
+ metadata !{ metadata !"-lz" },
+ metadata !{ metadata !"-framework", metadata !"Cocoa" } } }
!llvm.module.flags = !{ !0 }
The metadata encoding as lists of lists of options, as opposed to a collapsed