summaryrefslogtreecommitdiffstats
path: root/clang/docs/CommandGuide
diff options
context:
space:
mode:
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2016-09-14 05:52:21 +0000
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2016-09-14 05:52:21 +0000
commit79e00930e2726fba6b4322a272590497031103fd (patch)
treef57014eb4a44a827768fbc96ccc7afe574168f96 /clang/docs/CommandGuide
parent24662395df3baa3c9edfa026810d3dd2d788b928 (diff)
downloadbcm5719-llvm-79e00930e2726fba6b4322a272590497031103fd.tar.gz
bcm5719-llvm-79e00930e2726fba6b4322a272590497031103fd.zip
Document option '-rtlib' in clang's man page and help info
This patch adds an entry for "-rtlib" in the output of `man clang` and `clang -help`. Patch by Lei Zhang! Differential Revision: https://reviews.llvm.org/D24069 llvm-svn: 281440
Diffstat (limited to 'clang/docs/CommandGuide')
-rw-r--r--clang/docs/CommandGuide/clang.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 0546304e710..1c47db78da1 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -105,7 +105,12 @@ Language Selection and Mode Options
.. option:: -stdlib=<library>
Specify the C++ standard library to use; supported options are libstdc++ and
- libc++.
+ libc++. If not specified, platform default will be used.
+
+.. option:: -rtlib=<library>
+
+ Specify the compiler runtime library to use; supported options are libgcc and
+ compiler-rt. If not specified, platform default will be used.
.. option:: -ansi
OpenPOWER on IntegriCloud