diff --git a/llvm/docs/CommandGuide/llvm-addr2line.md b/llvm/docs/CommandGuide/llvm-addr2line.md deleted file mode 100644 --- a/llvm/docs/CommandGuide/llvm-addr2line.md +++ /dev/null @@ -1,28 +0,0 @@ -# llvm-addr2line - a drop-in replacement for addr2line - -## SYNOPSIS - -**llvm-addr2line** [*options*] - -## DESCRIPTION - -**llvm-addr2line** is an alias for the [llvm-symbolizer](llvm-symbolizer) tool -with different defaults. The goal is to make it a drop-in replacement for -GNU's **addr2line**. - -Here are some of those differences: - -* Defaults not to print function names. Use [-f](llvm-symbolizer-opt-f) - to enable that. - -* Defaults not to demangle function names. Use [-C](llvm-symbolizer-opt-C) - to switch the demangling on. - -* Defaults not to print inlined frames. Use [-i](llvm-symbolizer-opt-i) - to show inlined frames for a source code location in an inlined function. - -* Uses [--output-style=GNU](llvm-symbolizer-opt-output-style) by default. - -## SEE ALSO - -Refer to [llvm-symbolizer](llvm-symbolizer) for additional information. diff --git a/llvm/docs/CommandGuide/llvm-addr2line.rst b/llvm/docs/CommandGuide/llvm-addr2line.rst new file mode 100644 --- /dev/null +++ b/llvm/docs/CommandGuide/llvm-addr2line.rst @@ -0,0 +1,38 @@ +llvm-addr2line - a drop-in replacement for addr2line +==================================================== + +.. program:: llvm-addr2line + +SYNOPSIS +-------- + +:program:`llvm-addr2line` [*options*] + +DESCRIPTION +----------- + +:program:`llvm-addr2line` is an alias for the :manpage:`llvm-symbolizer(1)` +tool with different defaults. The goal is to make it a drop-in replacement for +GNU's :program:`addr2line`. + +Here are some of those differences: + +- Defaults not to print function names. Use `-f`_ to enable that. + +- Defaults not to demangle function names. Use `-C`_ to switch the + demangling on. + +- Defaults not to print inlined frames. Use `-i`_ to show inlined + frames for a source code location in an inlined function. + +- Uses `--output-style=GNU`_ by default. + +SEE ALSO +-------- + +:manpage:`llvm-symbolizer(1)` + +.. _-f: llvm-symbolizer.html#llvm-symbolizer-opt-f +.. _-C: llvm-symbolizer.html#llvm-symbolizer-opt-c +.. _-i: llvm-symbolizer.html#llvm-symbolizer-opt-i +.. _--output-style=GNU: llvm-symbolizer.html#llvm-symbolizer-opt-output-style diff --git a/llvm/docs/CommandGuide/llvm-ranlib.md b/llvm/docs/CommandGuide/llvm-ranlib.md deleted file mode 100644 --- a/llvm/docs/CommandGuide/llvm-ranlib.md +++ /dev/null @@ -1,17 +0,0 @@ -# llvm-ranlib - generates an archive index - -## SYNOPSIS - -**llvm-ranlib** [*options*] - -## DESCRIPTION - -**llvm-ranlib** is an alias for the [llvm-ar](llvm-ar.html) tool that generates -an index for an archive. It can be used as a replacement for GNU's **ranlib** -tool. - -Running **llvm-ranlib** is equivalent to running **llvm-ar s**. - -## SEE ALSO - -Refer to [llvm-ar](llvm-ar.html) for additional information. diff --git a/llvm/docs/CommandGuide/llvm-ranlib.rst b/llvm/docs/CommandGuide/llvm-ranlib.rst new file mode 100644 --- /dev/null +++ b/llvm/docs/CommandGuide/llvm-ranlib.rst @@ -0,0 +1,23 @@ +llvm-ranlib - generates an archive index +======================================== + +.. program:: llvm-ranlib + +SYNOPSIS +-------- + +:program:`llvm-ranlib` [*options*] + +DESCRIPTION +----------- + +:program:`llvm-ranlib` is an alias for the :doc:`llvm-ar ` tool that +generates an index for an archive. It can be used as a replacement for GNU’s +:program:`ranlib` tool. + +Running :program:`llvm-ranlib` is equivalent to running ``llvm-ar s``. + +SEE ALSO +-------- + +:manpage:`llvm-ar(1)` diff --git a/llvm/docs/CommandGuide/llvm-size.md b/llvm/docs/CommandGuide/llvm-size.md deleted file mode 100644 --- a/llvm/docs/CommandGuide/llvm-size.md +++ /dev/null @@ -1,10 +0,0 @@ -# llvm-size - print segment sizes - -## SYNOPSIS - -**llvm-size** [*options*] - -## DESCRIPTION - -**llvm-size** is a tool that prints segment sizes in object files. The goal is -to make it a drop-in replacement for GNU's **size**. diff --git a/llvm/docs/CommandGuide/llvm-size.rst b/llvm/docs/CommandGuide/llvm-size.rst new file mode 100644 --- /dev/null +++ b/llvm/docs/CommandGuide/llvm-size.rst @@ -0,0 +1,15 @@ +llvm-size - print size information +================================== + +.. program:: llvm-size + +SYNOPSIS +-------- + +:program:`llvm-size` [*options*] + +DESCRIPTION +----------- + +:program:`llvm-size` is a tool that prints size information for object files. +The goal is to make it a drop-in replacement for GNU’s :program:`size`. diff --git a/llvm/docs/CommandGuide/llvm-strings.md b/llvm/docs/CommandGuide/llvm-strings.md deleted file mode 100644 --- a/llvm/docs/CommandGuide/llvm-strings.md +++ /dev/null @@ -1,10 +0,0 @@ -# llvm-strings - print strings - -## SYNOPSIS - -**llvm-strings** [*options*] - -## DESCRIPTION - -**llvm-strings** is a tool that prints strings in object files. The goal is to -make it a drop-in replacement for GNU's **size**. diff --git a/llvm/docs/CommandGuide/llvm-strings.rst b/llvm/docs/CommandGuide/llvm-strings.rst new file mode 100644 --- /dev/null +++ b/llvm/docs/CommandGuide/llvm-strings.rst @@ -0,0 +1,15 @@ +llvm-strings - print strings +============================ + +.. program:: llvm-strings + +SYNOPSIS +-------- + +:program:`llvm-strings` [*options*] + +DESCRIPTION +----------- + +:program:`llvm-strings` is a tool that prints strings in files. The goal is to +make it a drop-in replacement for GNU’s :program:`strings`.