1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/docs/CommandGuide
Jordan Rupprecht 63099538ab [llvm-objcopy] Add support for shell wildcards
Summary: GNU objcopy accepts the --wildcard flag to allow wildcard matching on symbol-related flags. (Note: it's implicitly true for section flags).

The basic syntax is to allow *, ?, \, and [] which work similarly to how they work in a shell. Additionally, starting a wildcard with ! causes that wildcard to prevent it from matching a flag.

Use an updated GlobPattern in libSupport to handle these patterns. It does not fully match the `fnmatch` used by GNU objcopy since named character classes (e.g. `[[:digit:]]`) are not supported, but this should support most existing use cases (mostly just `*` is what's used anyway).

Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap

Reviewed By: MaskRay

Subscribers: nickdesaulniers, emaste, arichardson, hiraditya, jakehehrlich, abrachet, seiya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66613

llvm-svn: 375169
2019-10-17 20:51:00 +00:00
..
bugpoint.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
dsymutil.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
FileCheck.rst [FileCheck] Implement --ignore-case option. 2019-10-11 11:59:14 +00:00
index.rst Reland "[utils] Implement the llvm-locstats tool" 2019-10-02 07:00:01 +00:00
lit.rst [lit] Bring back --threads option alias 2019-10-10 19:43:57 +00:00
llc.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
lli.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-addr2line.rst [docs] Convert remaining command guide entries from md to rst. 2019-08-21 18:00:17 +00:00
llvm-ar.rst [docs][llvm-ar] Fix option:: O after r375106 2019-10-17 11:56:26 +00:00
llvm-as.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-bcanalyzer.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-build.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-config.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-cov.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-cxxfilt.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-cxxmap.rst [docs][tools] Add missing "program" tags to rst files 2019-06-27 13:24:46 +00:00
llvm-diff.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-dis.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-dwarfdump.rst [docs][llvm-dwarfdump] Normalise some wording 2019-07-10 08:56:13 +00:00
llvm-exegesis-analysis.png [llvm-exegesis] Show sched class details in analysis. 2018-05-24 10:47:05 +00:00
llvm-exegesis.rst [llvm-exegesis] Add options to SnippetGenerator. 2019-10-08 14:30:24 +00:00
llvm-extract.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-lib.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-link.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-lipo.rst [llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace -segalign flags 2019-08-07 23:25:12 +00:00
llvm-locstats.rst [llvm-locstats] Fix a typo in the documentation; NFC 2019-10-07 07:31:49 +00:00
llvm-mca.rst [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219) 2019-10-10 14:46:21 +00:00
llvm-nm.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-objcopy.rst [llvm-objcopy] Add support for shell wildcards 2019-10-17 20:51:00 +00:00
llvm-objdump.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-pdbutil.rst [docs][tools] Add missing "program" tags to rst files 2019-06-27 13:24:46 +00:00
llvm-profdata.rst [llvm-profdata] Add mode to recover from profile read failures 2019-09-03 22:23:16 +00:00
llvm-ranlib.rst Fix some regressions caused by r369553 on old versions of Debian and Ubuntu 2019-08-22 12:16:08 +00:00
llvm-readelf.rst [llvm-readobj/llvm-readelf] Delete --arm-attributes (alias for --arch-specific) 2019-10-01 01:31:15 +00:00
llvm-readobj.rst [llvm-readobj/llvm-readelf] Delete --arm-attributes (alias for --arch-specific) 2019-10-01 01:31:15 +00:00
llvm-size.rst [docs][llvm-size] Fix typo 2019-09-24 13:14:22 +00:00
llvm-stress.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-strings.rst [docs][llvm-strings] Clarify "printable character" wording 2019-09-25 13:09:17 +00:00
llvm-strip.rst [llvm-objcopy] Add support for shell wildcards 2019-10-17 20:51:00 +00:00
llvm-symbolizer.rst [docs][llvm-symbolizer] Fix grammar 2019-07-10 13:40:45 +00:00
opt.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
tblgen.rst [docs][tools] Add missing "program" tags to rst files 2019-06-27 13:24:46 +00:00