Alexey Samsonov
60e59e29f8
llvm-symbolizer: add --obj flag to specify a single object file that should be symbolized.
...
llvm-svn: 197988
2013-12-24 19:33:22 +00:00
Benjamin Kramer
c680226fbf
Remove dangling documentation. llvm-prof was deleted a while ago.
...
llvm-svn: 195372
2013-11-21 19:32:37 +00:00
Matt Arsenault
13df462691
Allow multiple check prefixes in FileCheck.
...
This is useful if you want to run multiple variations
of a single test, and the majority of check lines
should be the same.
llvm-svn: 194343
2013-11-10 02:04:09 +00:00
Renato Golin
58ab84a830
Add warning about CHECK-DAG with variable definition
...
llvm-svn: 192479
2013-10-11 18:50:22 +00:00
Dmitri Gribenko
8cac835723
docs: command guide: cleanups, no text changes
...
llvm-svn: 188627
2013-08-18 08:32:32 +00:00
Daniel Dunbar
06b9f9ecaa
[typo] An LLVM.
...
llvm-svn: 188589
2013-08-16 23:30:19 +00:00
Daniel Dunbar
c4477dfd92
[lit] Change --show-{tests,suites} to exit after printing.
...
- This is a more sensible behavior than printing and also running tests.
llvm-svn: 188009
2013-08-08 20:59:25 +00:00
Daniel Dunbar
b647d5d21d
[lit] Remove --repeat option, which wasn't that useful.
...
llvm-svn: 188008
2013-08-08 20:59:20 +00:00
Bill Wendling
7c8a4a4346
Fix grammar.
...
llvm-svn: 187755
2013-08-05 23:29:16 +00:00
Bill Wendling
c02da467f4
Fix underscore to be the proper length.
...
llvm-svn: 187406
2013-07-30 08:26:24 +00:00
Rafael Espindola
d20830dfe5
Remove more dead documentation.
...
llvm-svn: 187403
2013-07-30 04:06:06 +00:00
Rafael Espindola
cb87e35ed6
Delete documentation for deleted options.
...
llvm-svn: 187380
2013-07-29 21:35:48 +00:00
Rafael Espindola
2a2a0973b8
Use pipefail when available.
...
This change makes test with RUN lines like
RUN: opt ... | FileCheck
fail if opt fails, even if it prints what FileCheck wants. Enabling this
found some interesting cases of broken tests that were not being noticed
because opt (or some other tool) was crashing late.
Pipefail is used when the shell supports it or when using the internal
python based tester.
llvm-svn: 187261
2013-07-26 22:32:58 +00:00
Jakob Stoklund Olesen
5e5e297d16
Speling.
...
llvm-svn: 187076
2013-07-24 20:47:57 +00:00
Jakob Stoklund Olesen
b8f3590357
Update old llc documentation.
...
Patch by Hafiz Abid!
llvm-svn: 187056
2013-07-24 17:45:11 +00:00
Rafael Espindola
86e4b41169
llvm-ar is far closer to being a regular ar implementation now. Update the docs.
...
llvm-svn: 187034
2013-07-24 13:13:24 +00:00
Stephen Lin
b946407cb7
Fix FileCheck CHECK-LABEL documentation wording slightly; also mention that it allows error recovery.
...
llvm-svn: 186628
2013-07-18 23:26:58 +00:00
Stephen Lin
a6e877fab4
Correct inaccurate statement in FileCheck docs.
...
llvm-svn: 186290
2013-07-14 18:12:25 +00:00
Stephen Lin
f8bd2e5b86
Add new directive called CHECK-LABEL to FileCheck.
...
CHECK-LABEL is meant to be used in place on CHECK on lines containing identifiers or other unique labels (they need not actually be labels in the source or output language, though.) This is used to break up the input stream into separate blocks delineated by CHECK-LABEL lines, each of which is checked independently. This greatly improves the accuracy of errors and fix-it hints in many cases, and allows for FileCheck to recover from errors in one block by continuing to subsequent blocks.
Some tests will be converted to use this new directive in forthcoming patches.
llvm-svn: 186162
2013-07-12 14:51:05 +00:00
Alexey Samsonov
2ca6536d7a
llvm-symbolizer: add support for Mach-O universal binaries
...
llvm-svn: 185137
2013-06-28 08:15:40 +00:00
Sean Silva
b6bfbad290
[docs] Fix formatting.
...
'\n' was displaying as 'n'
llvm-svn: 184507
2013-06-21 00:27:54 +00:00
Rafael Espindola
668c642830
Remove the LLVM specific archive index.
...
Archive files (.a) can have a symbol table indicating which object
files in them define which symbols. The purpose of this symbol table
is to speed up linking by allowing the linker the read only the .o
files it is actually going to use instead of having to parse every
object's symbol table.
LLVM's archive library currently supports a LLVM specific format for
such table. It is hard to see any value in that now that llvm-ld is
gone:
* System linkers don't use it: GNU ar uses the same plugin as the
linker to create archive files with a regular index. The OS X ar
creates no symbol table for IL files, I assume the linker just parses
all IL files.
* It doesn't interact well with archives having both IL and native objects.
* We probably don't want to be responsible for yet another archive
format variant.
This patch then:
* Removes support for creating and reading such index from lib/Archive.
* Remove llvm-ranlib, since there is nothing left for it to do.
We should in the future add support for regular indexes to llvm-ar for
both native and IL objects. When we do that, llvm-ranlib should be
reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s".
llvm-svn: 184019
2013-06-14 23:25:53 +00:00
Sergey Matveev
8dbcb356f7
Fix incorrect parameter name in LIT docs.
...
llvm-svn: 182926
2013-05-30 12:37:52 +00:00
Michael Liao
91a1b2c9eb
Add 'CHECK-DAG' support
...
Refer to 'FileCheck.rst'f for details of 'CHECK-DAG'.
llvm-svn: 181827
2013-05-14 20:34:12 +00:00
Dmitri Gribenko
7d8b607f46
Documentation: end option description with a period
...
Patch by Dimitry Andric.
llvm-svn: 180675
2013-04-27 16:34:24 +00:00
Eli Bendersky
0577df4aec
Document the -filetype option of llc (PR #12902 )
...
llvm-svn: 180031
2013-04-22 17:16:35 +00:00
Nico Rieck
d6df0547fe
Teach llvm-readobj to print ELF program headers
...
llvm-svn: 179363
2013-04-12 04:07:39 +00:00
Nico Rieck
f3f0b79704
Add -expand-relocs to llvm-readobj
...
This option expands shown relocations from single line to a dictionary
format:
Relocation {
Offset: 0x4
Type: R_386_32 (1)
Symbol: sym
Info: 0x0
}
llvm-svn: 179359
2013-04-12 04:01:52 +00:00
Nico Rieck
5143243484
Add man page for llvm-readobj
...
llvm-svn: 179244
2013-04-11 00:05:57 +00:00
Jakub Staszak
09da37d10d
Fix a typo.
...
llvm-svn: 178567
2013-04-02 20:02:36 +00:00
Eli Bendersky
f78a9786ee
Update documentation of llvm-link to reflect recent cleanups.
...
llvm-svn: 177411
2013-03-19 16:04:19 +00:00
Alexey Samsonov
2bc1012561
Docs for llvm-symbolizer command-line tool
...
llvm-svn: 176337
2013-03-01 07:58:27 +00:00
Guy Benyei
5ea04c385f
Canonicalize line endings to Linux style also when the --strict-whitespace flag is in use. This flag is supposed to affect horizontal whitespaces only.
...
llvm-svn: 174541
2013-02-06 20:40:38 +00:00
Dmitri Gribenko
9e4fc280f9
Documentation: remove more mentions of Tcl
...
Followup for r172836
llvm-svn: 172918
2013-01-19 20:35:18 +00:00
Sean Silva
92a44897a2
docs: Fix long standing linking antipattern.
...
Before we learned about :doc:, we used :ref: and put a dummy link at the
top of each page. Don't do that anymore.
This fixes PR14891 as a special case.
llvm-svn: 172162
2013-01-11 02:28:08 +00:00
Dmitri Gribenko
508d98f67f
Documentation: use paths relative to document root in links.
...
llvm-svn: 170027
2012-12-12 21:16:29 +00:00
Dmitri Gribenko
28574d36aa
Documentation: llvm-bcanalyzer.rst: cleanup.
...
llvm-svn: 170001
2012-12-12 19:15:53 +00:00
Eli Bendersky
4ca99ba6b5
Update FileCheck's documentation to mention recently added feature of
...
matching a variable defined on the same line.
llvm-svn: 169103
2012-12-01 22:03:57 +00:00
Dmitri Gribenko
f589e2418d
Documentation for FileCheck: use 'option' and 'program' directives.
...
This enables option cross-referencing and now '--' in option names are no more turned into en dashes.
llvm-svn: 168926
2012-11-29 19:21:02 +00:00
Dmitri Gribenko
59aeece231
Documentation for llvm-link: reformat
...
llvm-svn: 168924
2012-11-29 19:14:35 +00:00
Dmitri Gribenko
c9e206f090
Documentation for llvm-cov: reformat
...
llvm-svn: 168922
2012-11-29 19:10:21 +00:00
Dmitri Gribenko
1521681b59
Documentation for llvm-stress: reformat
...
llvm-svn: 168920
2012-11-29 19:05:55 +00:00
Dmitri Gribenko
6c80bcb56f
Documentation for opt: reformat
...
llvm-svn: 168919
2012-11-29 19:02:50 +00:00
Dmitri Gribenko
76561e9741
Documentation for llc: reformat.
...
llvm-svn: 168912
2012-11-29 18:16:11 +00:00
Dmitri Gribenko
e260d3af52
Documentation for lit: more formatting: use 'option' and 'program' directives.
...
This enables cross-referencing and now '--' in option names are no more turned into en dashes.
llvm-svn: 168906
2012-11-29 18:03:08 +00:00
Dmitri Gribenko
cbb07bea14
Documentation for tblgen: formatting
...
llvm-svn: 168904
2012-11-29 17:41:05 +00:00
Dmitri Gribenko
6e303f7615
Documentation for lit: formatting improvements.
...
llvm-svn: 168902
2012-11-29 17:05:34 +00:00
Dmitri Gribenko
194d3685ec
Documentation: use correct highlighter
...
llvm-svn: 168871
2012-11-29 12:00:32 +00:00
Dmitri Gribenko
5cb3f1097f
Documentation: improve formatting and remove unneeded empty lines.
...
llvm-svn: 168817
2012-11-28 21:40:54 +00:00
Eli Bendersky
2fef6b6a1e
Fix a typo in FileCheck.rst
...
llvm-svn: 168466
2012-11-21 22:40:52 +00:00
Eli Bendersky
9d07f94863
ReST-ify some markup in the LIT document
...
llvm-svn: 168345
2012-11-20 00:26:08 +00:00
Alexander Kornienko
92987fb311
Support for [[ @LINE ]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions in
...
FileCheck.
llvm-svn: 167978
2012-11-14 21:07:37 +00:00
Dmitri Gribenko
a72e9f0140
FileCheck.rst: change formatting of code-like constructs to use a monospaced
...
font. These were formatted in bold, but that's not correct.
llvm-svn: 167964
2012-11-14 19:42:32 +00:00
Eli Bendersky
659d206678
Fix a broken sentence
...
llvm-svn: 167521
2012-11-07 01:52:41 +00:00
Eli Bendersky
8a7e80f6f5
Document the -input-file option of FileCheck
...
llvm-svn: 167517
2012-11-07 01:41:30 +00:00
Daniel Dunbar
a3d9cabf8f
lit: Rename the valgrind leaks feature to match what is currently used
...
(vg_leak).
llvm-svn: 166306
2012-10-19 20:29:30 +00:00
Daniel Dunbar
519a349c8a
lit: Add 'valgrind' and 'valgrind-leaks' features when valgrind is used.
...
- These can be used with the XFAIL options.
llvm-svn: 166303
2012-10-19 20:12:00 +00:00
Rafael Espindola
740a6bc8a0
Remove references to compression in llvm-ar. It has been a long time since we
...
switched from a bytecode+bzip2 to the current bitcode.
llvm-svn: 161651
2012-08-10 01:57:52 +00:00
Sylvestre Ledru
35521e2310
Fix a typo (the the => the)
...
llvm-svn: 160621
2012-07-23 08:51:15 +00:00
Bill Wendling
4a8948d583
Fix the formatting a bit.
...
llvm-svn: 158815
2012-06-20 11:25:11 +00:00
Dmitri Gribenko
a99fa5b062
Use correct syntax highliter in code blocks. Noticed by Sean Silva.
...
llvm-svn: 158359
2012-06-12 15:45:07 +00:00
Dmitri Gribenko
19408a76a6
FileCheck docs: remove leftover HTML markup.
...
llvm-svn: 158344
2012-06-12 00:48:47 +00:00
Michael J. Spencer
838e5add7e
[llvm-nm] Update documentation to cover object file support and arguments.
...
llvm-svn: 158120
2012-06-06 23:34:10 +00:00
Benjamin Kramer
bde9176663
Fix typos found by http://github.com/lyda/misspell-check
...
llvm-svn: 157885
2012-06-02 10:20:22 +00:00
Chad Rosier
fd7469c947
Typo. Patch by Nicklas Bo Jensen <nbjensen@gmail.com>.
...
llvm-svn: 157415
2012-05-24 21:17:47 +00:00
Nadav Rotem
e963870f77
Fix the tool documentation
...
llvm-svn: 156729
2012-05-13 05:52:56 +00:00
Daniel Dunbar
3d92154e60
[docs] Remove POD based man page docs (and build system support).
...
- Currently this leaves us with less build system support (e.g., installing man pages) for the docs than is desired. I'm working on fixing this, but it may take a while. If someone finds this particularly egregious let me know and I will prioritize it.
llvm-svn: 156389
2012-05-08 17:48:21 +00:00
Daniel Dunbar
8f4a8a636c
[docs] Add ReST version of all the man pages.
...
- The POD versions are slated for execution, but are still around until
llvm.org machinery is in place.
llvm-svn: 156384
2012-05-08 16:50:35 +00:00
Pete Cooper
54d5f6489f
Remove C Backend from the bugpoint docs
...
llvm-svn: 156333
2012-05-07 22:42:40 +00:00
Michael J. Spencer
9125493efe
Remove llvm-ld and llvm-stub (which is only used by llvm-ld).
...
llvm-ld is no longer useful and causes confusion and so it is being removed.
* Does not work very well on Windows because it must call a gcc like driver to
assemble and link.
* Has lots of hard coded paths which are wrong on many systems.
* Does not understand most of ld's options.
* Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} |
ld, or fully replaced by Clang.
I know of no production use of llvm-ld, and hacking use should be
replaced by Clang's driver.
llvm-svn: 155147
2012-04-19 19:27:54 +00:00
Eli Bendersky
d47b789d0b
Some formatting and grammar fixes in the FileCheck documentation
...
llvm-svn: 154990
2012-04-18 07:44:03 +00:00
Benjamin Kramer
cca02750c8
Drop O4 from the llc manpage, it was removed in r70445.
...
llvm-svn: 153684
2012-03-29 20:40:18 +00:00
Daniel Dunbar
9a05c8b479
docs/lit: Add some notes on the lit test run output format.
...
llvm-svn: 153450
2012-03-26 18:01:14 +00:00
Eli Bendersky
f33086052d
Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu
...
* Removed test/lib/llvm.exp - it is no longer needed
* Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
left in the test suite so this code is no longer required. test/lit.cfg is
now much shorter and clearer
* Removed a lot of duplicate code in lit.local.cfg files that need access to
the root configuration, by adding a "root" attribute to the TestingConfig
object. This attribute is dynamically computed to provide the same
information as was previously provided by the custom getRoot functions.
* Documented the config.root attribute in docs/CommandGuide/lit.pod
llvm-svn: 153408
2012-03-25 09:02:19 +00:00
Eli Bendersky
f0a1305bc0
Some typos in lit command guide
...
llvm-svn: 152712
2012-03-14 11:34:19 +00:00
Eli Bendersky
2859178242
Typo in lit command guide
...
llvm-svn: 152702
2012-03-14 06:09:20 +00:00
Craig Topper
8e76068c6e
Update tblgen command guide. Remove unused tblgen InstrEnumEmitter files.
...
llvm-svn: 151513
2012-02-27 02:31:09 +00:00
Nadav Rotem
78bda89412
Add a random .LL file generator to stress-test different llvm components.
...
llvm-svn: 151479
2012-02-26 08:35:53 +00:00
Eli Bendersky
3ea96a701e
Fix typo and broken link
...
llvm-svn: 149820
2012-02-05 11:17:49 +00:00
Eli Bendersky
cf65eff7a5
Add missing paren
...
llvm-svn: 149817
2012-02-05 09:21:25 +00:00
Eli Bendersky
bbf8c9a939
Fix dead link
...
llvm-svn: 147721
2012-01-07 04:11:27 +00:00
Duncan Sands
7610e45910
Correct spelling.
...
llvm-svn: 147435
2012-01-02 16:55:01 +00:00
Daniel Dunbar
ea07f34afd
llvm-build: Add sketchy support for preserving comments when using
...
--write-llvmbuild.
llvm-svn: 146434
2011-12-12 22:45:35 +00:00
Devang Patel
8e5bfd8349
Add documentation for llvm-cov.
...
llvm-svn: 145319
2011-11-28 23:39:25 +00:00
Daniel Dunbar
e9733850be
llvm-build: Add initial --write-cmake-fragment option.
...
llvm-svn: 143744
2011-11-04 23:10:37 +00:00
Daniel Dunbar
ab3b1804fe
llvm-build: Add initial code for --write-make-fragment.
...
llvm-svn: 143661
2011-11-03 22:46:19 +00:00
Daniel Dunbar
445e8f9d35
llvm-build: Add "--write-library-table" option for generating the C++ library
...
dependency table used by llvm-config.
llvm-svn: 143628
2011-11-03 17:56:28 +00:00
Daniel Dunbar
774421ec26
docs: Sketch docs for llvm-build tool.
...
llvm-svn: 143627
2011-11-03 17:56:24 +00:00
Bill Wendling
91fecb36b6
Remove mention of llvm-gcc and llvm-g++. -Ministry of Truth
...
llvm-svn: 140163
2011-09-20 18:24:04 +00:00
Eric Christopher
69c02e9476
Remove more of llvmc and dependencies.
...
llvm-svn: 140121
2011-09-20 00:34:27 +00:00
Bill Wendling
fd24834588
Remove obsolete .pod files.
...
llvm-svn: 140000
2011-09-18 12:52:55 +00:00
Chad Rosier
f0d3786945
Add -rfunc and -rglob options to llvm-extract to support regular
...
expression matching.
llvm-svn: 139945
2011-09-16 21:09:17 +00:00
Andrew Trick
3260c9df4e
Comment edit.
...
llvm-svn: 130047
2011-04-23 03:27:19 +00:00
NAKAMURA Takumi
aa3d6242cf
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
FIXME: Care H5 better.
llvm-svn: 130040
2011-04-23 00:30:22 +00:00
NAKAMURA Takumi
fc8d930f6e
docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.
...
H1 ... doc_title
H2 ... doc_section
H3 ... doc_subsection
H4 ... doc_subsubsection
llvm-svn: 129736
2011-04-18 23:59:50 +00:00
Chris Lattner
0ab5e2cded
Fix a ton of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129558
2011-04-15 05:18:47 +00:00
Andrew Trick
d175c98d41
Documented bugpoint --compile-custom --compile-command.
...
I've used it a few times to reduce unit tests and gotten one request for information on it. It's not easy to use correctly because bugpoint doesn't tell you when you're doing it wrong.
llvm-svn: 129507
2011-04-14 05:05:36 +00:00
NAKAMURA Takumi
62920834fa
docs/CommandGuide/index.html: Fix CSS url to relative.
...
llvm-svn: 129268
2011-04-11 03:27:38 +00:00
NAKAMURA Takumi
ca46f5a3b5
docs: Canonicalize URLs.
...
llvm-svn: 129181
2011-04-09 02:13:37 +00:00
Duncan Sands
75b5d27b84
Spelling fix: consequtive -> consecutive.
...
llvm-svn: 125563
2011-02-15 09:23:02 +00:00