diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-18 19:37:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-18 19:37:00 +0000 |
commit | 6d49b680be6e24b547e6910c2b64914913915084 (patch) | |
tree | 900d460952babe7c974e3b2c6c027cc6c8e9cda7 /docs | |
parent | 55c6f0c6144b218e392c511f9e33b05bde08015f (diff) | |
download | external_llvm-6d49b680be6e24b547e6910c2b64914913915084.zip external_llvm-6d49b680be6e24b547e6910c2b64914913915084.tar.gz external_llvm-6d49b680be6e24b547e6910c2b64914913915084.tar.bz2 |
[MC/Mach-O] Implement integrated assembler support for linker options.
- Also, fixup syntax errors in LangRef and missing newline in the MCAsmStreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst index ce0676f..49e2295 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 |