aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide
AgeCommit message (Collapse)AuthorFilesLines
2014-10-17[llvm-symbolizer] Introduce the -dsym-hint option.Alexander Potapenko1-0/+7
llvm-symbolizer will consult one of the .dSYM paths passed via -dsym-hint if it fails to find the .dSYM bundle at the default location. llvm-svn: 220004
2014-10-16Delete -std-compile-opts.Rafael Espindola1-19/+4
These days -std-compile-opts was just a silly alias for -O3. llvm-svn: 219951
2014-08-21[LIT] Remove documentation for method since it does not existEric Fiselier1-8/+0
llvm-svn: 216204
2014-08-15[LIT]Correct name of global lit configuration object to be lit_config (not lit).Eric Fiselier1-1/+1
llvm-svn: 215695
2014-08-11Fix typos:Sylvestre Ledru1-1/+1
* libaries => libraries * avaiable => available llvm-svn: 215366
2014-08-02[lit] Add --show-xfail flag to LIT.Eric Fiselier1-0/+4
Summary: This patch add a --show-xfail flag. If this flag is specified then each xfail test will be printed to output. When it is not given xfail tests are ignored. Ignoring xfail tests is the current behavior. This flag is meant to mirror the --show-unsupported flag that was recently added. Reviewers: ddunbar, EricWF Reviewed By: EricWF Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4750 llvm-svn: 214609
2014-07-31Add documentation for lit's --show-unsupported flagEric Fiselier1-0/+4
llvm-svn: 214431
2014-07-30docs: update the command guide documentation for llvm-profdata.Alex Lorenz1-12/+85
Differential Revision: http://reviews.llvm.org/D4726 llvm-svn: 214331
2014-07-21Fix Sphinx warnings.Dan Liew1-1/+1
llvm-svn: 213559
2014-07-11Add FileCheck -implicit-check-not option to allow stricter tests without ↵Alexander Kornienko1-0/+11
adding too many CHECK-NOTs manually. Summary: Add FileCheck -implicit-check-not option which allows specifying a pattern that should only occur in the input when explicitly matched by a positive check. This feature allows checking tool diagnostics in a way clang -verify does it for compiler diagnostics. The option has been tested on a number of clang-tidy checks, I'll post a link to the clang-tidy patch to this thread. Once there's an agreement on the general direction, I can add tests and documentation. Reviewers: djasper, bkramer Reviewed By: bkramer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4462 llvm-svn: 212810
2014-06-04docs: Remove documentation for legacy PGO optionsJustin Bogner2-8/+0
Late last year r191835 removed a largely unmaintained legacy PGO infrastructure, but some of the docs were missed. Since these docs are for things that don't actually exist anymore, they should be removed. llvm-svn: 210165
2014-05-19Add documentation for llvm-dwarfdump toolAlexey Samsonov2-0/+31
llvm-svn: 209173
2014-05-17[DWARF parser] Teach DIContext to fetch short (non-linkage) function names ↵Alexey Samsonov1-2/+5
for a given address. Change --functions option in llvm-symbolizer tool to accept values "none", "short" or "linkage". Update the tests and docs accordingly. llvm-svn: 209050
2014-05-07llvm-cov: Document --no-output in the command guideJustin Bogner1-0/+5
llvm-svn: 208151
2014-05-06Add some details to the llvm-cov documentation. <rdar://problem/15819496>Bob Wilson1-13/+96
llvm-svn: 208098
2014-04-07[docs] Fix some linksSean Silva1-1/+2
The TableGen docs have changed structure Patch by Tay Ray Chuan! llvm-svn: 205744
2014-03-20Remove LowerInvoke's obsolete "-enable-correct-eh-support" optionMark Seaborn2-11/+0
This option caused LowerInvoke to generate code using SJLJ-based exception handling, but there is no code left that interprets the jmp_buf stack that the resulting code maintained (llvm.sjljeh.jblist). This option has been obsolete for a while, and replaced by SjLjEHPrepare. This leaves the default behaviour of LowerInvoke, which is to convert invokes to calls. Differential Revision: http://llvm-reviews.chandlerc.com/D3136 llvm-svn: 204388
2014-02-19[docs] Clean up some more llvm-gcc stuffSean Silva2-4/+3
Some references to llvm-gcc were so crusty that I wasn't sure how to proceed and so I've left them intact. I also slipped in a quick peephole fix to use a :doc: link instead of raw HTML link. llvm-svn: 201619
2014-02-17PGO: llvm-profdata: tool for merging profilesDuncan P. N. Exon Smith2-0/+30
Introducing llvm-profdata, a tool for merging profile data generated by PGO instrumentation in clang. - The name indicates a file extension of <name>.profdata. Eventually profile data output by clang should be changed to that extension. - llvm-profdata merges two profiles. However, the name is more general, since it will likely pick up more tasks (such as summarizing a single profile). - llvm-profdata parses the current text-based format, but will be updated once we settle on a binary format. <rdar://problem/15949645> llvm-svn: 201535
2013-12-24Remove link to unexisting llvm-prof docsAlexey Samsonov1-1/+0
llvm-svn: 197989
2013-12-24llvm-symbolizer: add --obj flag to specify a single object file that should ↵Alexey Samsonov1-1/+15
be symbolized. llvm-svn: 197988
2013-11-21Remove dangling documentation. llvm-prof was deleted a while ago.Benjamin Kramer1-63/+0
llvm-svn: 195372
2013-11-10Allow multiple check prefixes in FileCheck.Matt Arsenault1-5/+7
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-10-11Add warning about CHECK-DAG with variable definitionRenato Golin1-9/+37
llvm-svn: 192479
2013-08-18docs: command guide: cleanups, no text changesDmitri Gribenko2-96/+28
llvm-svn: 188627
2013-08-16[typo] An LLVM.Daniel Dunbar1-1/+1
llvm-svn: 188589
2013-08-08[lit] Change --show-{tests,suites} to exit after printing.Daniel Dunbar1-1/+5
- This is a more sensible behavior than printing and also running tests. llvm-svn: 188009
2013-08-08[lit] Remove --repeat option, which wasn't that useful.Daniel Dunbar1-5/+0
llvm-svn: 188008
2013-08-05Fix grammar.Bill Wendling1-2/+2
llvm-svn: 187755
2013-07-30Fix underscore to be the proper length.Bill Wendling1-1/+1
llvm-svn: 187406
2013-07-30Remove more dead documentation.Rafael Espindola1-11/+10
llvm-svn: 187403
2013-07-29Delete documentation for deleted options.Rafael Espindola1-41/+0
llvm-svn: 187380
2013-07-26Use pipefail when available.Rafael Espindola1-0/+4
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-24Speling.Jakob Stoklund Olesen1-2/+2
llvm-svn: 187076
2013-07-24Update old llc documentation.Jakob Stoklund Olesen1-9/+9
Patch by Hafiz Abid! llvm-svn: 187056
2013-07-24llvm-ar is far closer to being a regular ar implementation now. Update the docs.Rafael Espindola1-47/+7
llvm-svn: 187034
2013-07-18Fix FileCheck CHECK-LABEL documentation wording slightly; also mention that ↵Stephen Lin1-8/+10
it allows error recovery. llvm-svn: 186628
2013-07-14Correct inaccurate statement in FileCheck docs.Stephen Lin1-1/+2
llvm-svn: 186290
2013-07-12Add new directive called CHECK-LABEL to FileCheck.Stephen Lin1-0/+49
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-06-28llvm-symbolizer: add support for Mach-O universal binariesAlexey Samsonov1-0/+16
llvm-svn: 185137
2013-06-21[docs] Fix formatting.Sean Silva1-1/+1
'\n' was displaying as 'n' llvm-svn: 184507
2013-06-14Remove the LLVM specific archive index.Rafael Espindola3-73/+2
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-05-30Fix incorrect parameter name in LIT docs.Sergey Matveev1-2/+2
llvm-svn: 182926
2013-05-14Add 'CHECK-DAG' supportMichael Liao1-0/+49
Refer to 'FileCheck.rst'f for details of 'CHECK-DAG'. llvm-svn: 181827
2013-04-27Documentation: end option description with a periodDmitri Gribenko1-1/+3
Patch by Dimitry Andric. llvm-svn: 180675
2013-04-22Document the -filetype option of llc (PR #12902)Eli Bendersky1-0/+8
llvm-svn: 180031
2013-04-12Teach llvm-readobj to print ELF program headersNico Rieck1-0/+4
llvm-svn: 179363
2013-04-12Add -expand-relocs to llvm-readobjNico Rieck1-0/+5
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-11Add man page for llvm-readobjNico Rieck2-0/+78
llvm-svn: 179244
2013-04-02Fix a typo.Jakub Staszak1-1/+1
llvm-svn: 178567