aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide
AgeCommit message (Collapse)AuthorFilesLines
2016-04-04Document standard substitutions defined by lit.Paul Robinson1-0/+29
Patch by Guilherme Bufolo! Differential Revision: http://reviews.llvm.org/D18752 llvm-svn: 265314
2016-03-23[docs] Use reST link.Sean Silva1-1/+1
llvm-svn: 264121
2016-03-23[docs] Clarify the sense of --compile-commandSean Silva1-1/+6
In retrospect, it seems "obvious" that the sense of the return code is the same as if it crashed on "interesting" inputs. But that didn't stop me from spending more time than I care to admit verifying this. llvm-svn: 264119
2016-02-11Add -match-full-lines argument to FileCheck.James Y Knight1-0/+12
This is useful for some tests where more-exact matching is useful, such as clang's Preprocessor tests. llvm-svn: 260540
2016-02-10[llvm-nm] Add -radix optionHemant Kulkarni1-0/+5
Differential Revision: http://reviews.llvm.org/D16822 llvm-svn: 260392
2016-01-29[Profiling] Add a -sparse mode to llvm-profdata mergeVedant Kumar1-0/+6
Add an option to llvm-profdata merge for writing out sparse indexed profiles. These profiles omit InstrProfRecords for functions which are never executed. Differential Revision: http://reviews.llvm.org/D16727 llvm-svn: 259258
2016-01-26[llvm-readobj] Add -elf-section-groups optionHemant Kulkarni1-0/+4
Adds a way to inspect SHT_GROUP sections in ELF objects. Displays signature, member sections of these sections. Differential revision: http://reviews.llvm.org/D16555 llvm-svn: 258845
2016-01-07[llvm-symbolizer] Print out non-address lines verbatim.Mike Aizatsky1-3/+3
Differential Revision: http://reviews.llvm.org/D15876 llvm-svn: 257115
2015-12-15[llvm-profdata] Add support for weighted merge of profile data (2nd try)Nathan Slingerland1-1/+40
Summary: This change adds support for specifying a weight when merging profile data with the llvm-profdata tool. Weights are specified by using the --weighted-input=<weight>,<filename> option. Input files not specified with this option (normal positional list after options) are given a default weight of 1. Adding support for arbitrary weighting of input profile data allows for relative importance to be placed on the input data from multiple training runs. Both sampled and instrumented profiles are supported. Reviewers: davidxl, dnovillo, bogner, silvas Subscribers: silvas, davidxl, llvm-commits Differential Revision: http://reviews.llvm.org/D15306 llvm-svn: 255659
2015-12-04Revert "[llvm-profdata] Add support for weighted merge of profile data"Nathan Slingerland1-5/+1
This reverts commit b7250858d96b8ce567681214273ac0e62713c661. Reverting in order to investigate Windows test failure. llvm-svn: 254687
2015-12-04[llvm-profdata] Add support for weighted merge of profile dataNathan Slingerland1-1/+5
This change adds support for an optional weight when merging profile data with the llvm-profdata tool. Weights are specified by adding an option ':<weight>' suffix to the input file names. Adding support for arbitrary weighting of input profile data allows for relative importance to be placed on the input data from multiple training runs. Both sampled and instrumented profiles are supported. Reviewers: dnovillo, bogner, davidxl Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14547 llvm-svn: 254669
2015-11-24Fix sphinx-build error when building documentation.Xinliang David Li1-16/+10
Consolidate the description of -binary/-text option description to avoid duplicate ID error by sphinux-build. llvm-svn: 254018
2015-11-23[PGO] Add --text option for llvm-profdata show|merge commandsXinliang David Li1-1/+18
The new option is similar to the SampleProfile dump option. - dump raw/indexed format into text profile format - merge the profile and output into text profile format. Note that Value Profiling data text format is not yet designed. That functionality will be added later. Differential Revision: http://reviews.llvm.org/D14894 llvm-svn: 253913
2015-11-11Fix docs build break for revision r252798Hemant Kulkarni1-0/+2
llvm-svn: 252812
2015-11-11[Symbolizer]: Add -pretty-print optionHemant Kulkarni1-0/+12
Differential Revision: http://reviews.llvm.org/D13671 llvm-svn: 252798
2015-11-11Reverting r252760Colin LeMahieu1-12/+0
llvm-svn: 252770
2015-11-11[Symbolizer]: Add -pretty-print optionHemant Kulkarni1-0/+12
Differential Revision: http://reviews.llvm.org/D13671 llvm-svn: 252760
2015-11-09[EABI] Add LLVM support for -meabi flagRenato Golin1-0/+6
"GCC requires the freestanding environment provide memcpy, memmove, memset and memcmp": https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Standards.html Hence in GNUEABI targets LLVM should not convert 'memops' to their equivalent '__aeabi_memops'. This convertion violates GCC contract. The -meabi flag controls whether or not LLVM will modify 'memops' in GNUEABI targets. Without -meabi: use the triple default EABI. With -meabi=default: use the triple default EABI. With -meabi=gnu: use 'memops'. With -meabi=4 or -meabi=5: use '__aeabi_memops'. With -meabi set to an unknown value: same as -meabi=default. Patch by Vinicius Tinti. llvm-svn: 252462
2015-11-06CommandGuide/lit.rst: Document the new commandline option -aMatthias Braun1-0/+5
llvm-svn: 252257
2015-10-12[llvm-symbolizer] Add -print-address optionHemant Kulkarni1-0/+2
Differential Revision: http://reviews.llvm.org/D13518 llvm-svn: 250086
2015-10-12[llvm-symbolizer] Reverting r250067Colin LeMahieu1-2/+0
llvm-svn: 250072
2015-10-12[llvm-symbolizer] Add -print-address optionHemant Kulkarni1-0/+2
Differential Revision http://reviews.llvm.org/D13518 llvm-svn: 250067
2015-07-28Improving lli documentationRenato Golin1-124/+44
Too many people hope lli would act as an emulator when it's actually just a tool to help prototype IR code and test the JIT compiler. This commit makes that fact explicit in the documentation It also migrates the old style bold/italic doc tags to the preferred meta tags (.. option::, :program:, etc). No errors when generating the documents, visual inspection in the HTML result doesn't show any major difference, apart from the slight style change. llvm-svn: 243401
2015-07-17Start adding documentation for llvm-lib.Rafael Espindola2-0/+32
llvm-svn: 242557
2015-06-25Make llvm-dwarfdump exit with non-zero exit code if error was occured.Alexey Samsonov1-2/+2
llvm-svn: 240729
2015-06-19Fix "the the" in comments.Eric Christopher1-1/+1
llvm-svn: 240112
2015-05-28Update documentation for llvm-profdata.Diego Novillo1-0/+30
These options have been present for a while, but I had never updated the documentation. Fixed. llvm-svn: 238511
2015-05-04Lit: Allow overriding llvm tool paths+arguments, make -D an alias for --paramMatthias Braun1-1/+1
These changes allow usages where you want to pass an additional commandline option to all invocations of a specific llvm tool. Example: > llvm-lit -Dllc=llc -enable-misched -verify-machineinstrs Differential Revision: http://reviews.llvm.org/D9487 llvm-svn: 236461
2015-04-29IR: Give 'DI' prefix to debug info metadataDuncan P. N. Exon Smith1-2/+2
Finish off PR23080 by renaming the debug info IR constructs from `MD*` to `DI*`. The last of the `DIDescriptor` classes were deleted in r235356, and the last of the related typedefs removed in r235413, so this has all baked for about a week. Note: If you have out-of-tree code (like a frontend), I recommend that you get everything compiling and tests passing with the *previous* commit before updating to this one. It'll be easier to keep track of what code is using the `DIDescriptor` hierarchy and what you've already updated, and I think you're extremely unlikely to insert bugs. YMMV of course. Back to *this* commit: I did this using the rename-md-di-nodes.sh upgrade script I've attached to PR23080 (both code and testcases) and filtered through clang-format-diff.py. I edited the tests for test/Assembler/invalid-generic-debug-node-*.ll by hand since the columns were off-by-three. It should work on your out-of-tree testcases (and code, if you've followed the advice in the previous paragraph). Some of the tests are in badly named files now (e.g., test/Assembler/invalid-mdcompositetype-missing-tag.ll should be 'dicompositetype'); I'll come back and move the files in a follow-up commit. llvm-svn: 236120
2015-04-21Minor edits to the llvm-cov documentation.Bob Wilson1-9/+9
This just changes a few places to use a slightly more formal style. llvm-svn: 235389
2015-03-19docs: Update llvm-cov docs for the -use-color flagJustin Bogner1-4/+4
llvm-svn: 232742
2015-03-12docs: Fix a typo in my previous commitJustin Bogner1-1/+1
llvm-svn: 232009
2015-03-12docs: Document the llvm-cov show and report commandsJustin Bogner1-21/+191
Add a basic synopsis of how to work with instrprof based coverage using the llvm-cov tools. llvm-svn: 232007
2015-03-12docs: Try to fix a couple of internal links in the llvm-profdata manualJustin Bogner1-4/+4
These links seem broken on llvm.org/docs. Change them to use the sphinx-recommended style to see if that helps. llvm-svn: 232001
2015-03-05All FileCheck directives allow patterns.Paul Robinson1-1/+1
llvm-svn: 231418
2015-03-05FileCheck: Document CHECK-SAME, follow-up to r230612Duncan P. N. Exon Smith1-0/+25
llvm-svn: 231379
2015-02-07Fix docs typo regarding lit.local.cfg filesJonathan Roelofs1-1/+1
llvm-svn: 228499
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