llvm-mirror/include/llvm/Support
Fangrui Song f6b39f50d1 [llvm-symbolizer] Switch command line parsing from llvm::cl to OptTable
for the advantage outlined by D83639 ([OptTable] Support grouped short options)

Some behavior changes:

* -i={0,false} is removed. Use --no-inlines instead.
* --demangle={0,false} is removed. Use --no-demangle instead
* -untag-addresses={0,false} is removed. Use --no-untag-addresses instead

Added a higher level API OptTable::parseArgs which handles optional
initial options populated from an environment variable, expands response
files recursively, and parses options.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D83530
2020-08-04 08:53:15 -07:00
..
Solaris/sys
Windows [Support] Improve Windows widenPath and add support for long UNC paths 2020-03-19 13:00:21 +00:00
AArch64TargetParser.def [ARM] Add Cortex-A78 and Cortex-X1 Support for Clang and LLVM 2020-07-10 18:24:11 +01:00
AArch64TargetParser.h Fix implicit include dependencies on SmallVector.h. 2020-06-26 13:49:17 +01:00
Alignment.h [Align] Remove operations on MaybeAlign that asserted that it had a defined value. 2020-05-22 21:54:28 -07:00
AlignOf.h [NFC] use C++11 in AlignOf.h, remove AlignedCharArray 2019-07-30 04:03:33 +00:00
Allocator.h [Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer 2020-05-02 16:08:46 +02:00
AllocatorBase.h [Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer 2020-05-02 16:08:46 +02:00
AMDGPUMetadata.h AMDGPU: Remove .value_type from kernel metadata 2020-07-10 18:16:31 -04:00
AMDHSAKernelDescriptor.h [AMDGPU] gfx1010 wave32 metadata 2019-06-17 16:48:56 +00:00
ARMAttributeParser.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ARMBuildAttributes.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ARMEHABI.h
ARMTargetParser.def [ARM] Add Cortex-A78 and Cortex-X1 Support for Clang and LLVM 2020-07-10 18:24:11 +01:00
ARMTargetParser.h [Driver][ARM] Disable unsupported features when nofp arch extension is used 2020-07-29 14:13:22 +01:00
ARMWinEH.h
ArrayRecycler.h
Atomic.h
AtomicOrdering.h [NFC] Use ADT/Bitfields in Instructions 2020-07-03 07:20:22 +00:00
Automaton.h Revert "Avoid creating an immutable map in the Automaton class." 2020-01-17 10:20:36 +01:00
Base64.h Syndicate, test and fix base64 implementation 2020-03-03 12:17:53 +01:00
BinaryByteStream.h
BinaryItemStream.h
BinaryStream.h
BinaryStreamArray.h Fix header includes after 0697bcb66f1d82f2fd447e9d13b74d141c3ce085 2020-01-24 18:32:54 -08:00
BinaryStreamError.h
BinaryStreamReader.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
BinaryStreamRef.h BinaryStream - fix static analyzer warnings. NFCI. 2019-11-08 13:20:24 +00:00
BinaryStreamWriter.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
BlockFrequency.h
BranchProbability.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
BuryPointer.h
CachePruning.h CachePruning.h - reduce StringRef.h to Optional.h include. NFC 2020-05-08 14:06:53 +01:00
Capacity.h
Casting.h [LLVM] Change isa<> to a variadic function template 2020-06-15 18:46:57 +00:00
CBindingWrapping.h
CFGDiff.h [CFGDiff] Refactor Succ/Pred maps. 2020-07-27 18:02:52 -07:00
CFGUpdate.h [GraphDiff] Extend GraphDiff to track a list of updates. 2020-04-03 12:10:36 -07:00
CheckedArithmetic.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
Chrono.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
circular_raw_ostream.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
CMakeLists.txt [CMAKE] Fix 'clean' target not working 2020-07-29 07:34:24 -04:00
CodeGen.h Move CodeGenFileType enum to Support/CodeGen.h 2019-11-13 16:39:34 -08:00
CodeGenCoverage.h
COM.h
CommandLine.h [llvm-symbolizer] Switch command line parsing from llvm::cl to OptTable 2020-08-04 08:53:15 -07:00
Compiler.h [Support] Remove stale comment 2020-05-26 12:22:03 -07:00
Compression.h
ConvertUTF.h
CrashRecoveryContext.h [NFC] Add missing 'override's 2020-07-20 19:52:49 -07:00
CRC.h Unify the two CRC implementations 2019-10-09 09:06:30 +00:00
DataExtractor.h [Support] Make DataExtractor error messages more clear 2020-06-02 12:57:51 +02:00
DataTypes.h
Debug.h
DebugCounter.h DebugCounter.h - remove unused includes. NFC. 2020-05-12 13:03:49 +01:00
DJB.h
DOTGraphTraits.h
DynamicLibrary.h
ELFAttributeParser.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ELFAttributes.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
Endian.h Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
EndianStream.h
Errc.h
Errno.h Use C++14-style return type deduction in LLVM. 2020-02-11 07:38:42 -08:00
Error.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
ErrorHandling.h Add LLVM_ATTRIBUTE_NORETURN to report_bad_alloc_error 2020-06-09 17:45:12 +02:00
ErrorOr.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
ExtensibleRTTI.h [Support] Add support RTTI support for open class hierarchies. 2020-04-13 12:52:44 -07:00
FileCheck.h [FileCheck] Extend -dump-input with substitutions 2020-07-28 19:15:18 -04:00
FileCollector.h FileCollector.h - reduce Twine.h include to forward declaration. NFC. 2020-06-27 11:16:25 +01:00
FileOutputBuffer.h FileOutputBuffer.h - remove unused includes. NFC. 2020-05-28 14:38:12 +01:00
FileSystem.h [Support] Class to facilitate file locking 2020-07-30 13:42:20 +07:00
FileUtilities.h Revert "r372201: [Support] Replace function with function_ref in writeFileAtomically. NFC" 2019-09-18 08:47:09 +00:00
Format.h Revert "Forward declare Optional<T> in STLExtras.h" 2019-11-13 16:36:21 -08:00
FormatAdapters.h [NFC] Add 'override' keyword where missing in include/ and lib/. 2020-07-14 09:47:29 -07:00
FormatCommon.h
FormatProviders.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
FormattedStream.h [Support] Fix formatted_raw_ostream for UTF-8 2020-07-06 16:18:15 +01:00
FormatVariadic.h [LLVM] Update formatv() documentation to clarify no escape for } 2020-07-22 15:30:40 -07:00
FormatVariadicDetails.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
GenericDomTree.h Reapply "[DomTree] Replace ChildrenGetter with GraphTraits over GraphDiff." 2020-07-24 14:10:50 -07:00
GenericDomTreeConstruction.h [DominatorTree] Simplify ChildrenGetter. 2020-07-28 15:44:20 -07:00
GenericIteratedDominanceFrontier.h [IteratedDominanceFrontier] Decrease number of SmallPtrSet::insert and delete unneeded SmallVector::clear 2020-06-13 19:48:50 -07:00
GlobPattern.h GlobPattern.h - remove unnecessary StringRef.h include. NFC 2020-05-19 11:27:40 +01:00
GraphWriter.h Utility to dump .dot representation of SelectionDAG without firing viewer 2020-06-04 11:51:48 +05:30
Host.h Drop a StringMap.h include, NFC 2020-03-11 15:45:34 -07:00
InitLLVM.h [Signal] Allow llvm clients to opt into one-shot SIGPIPE handling 2019-11-18 10:27:27 -08:00
ItaniumManglingCanonicalizer.h ItaniumManglingCanonicalizer.h - add cstdint.h include for missing uintptr_t def 2020-05-08 14:22:26 +01:00
JSON.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
KnownBits.h [KnownBits] Move AND, OR and XOR logic into KnownBits 2020-04-09 10:10:37 +01:00
LEB128.h [llvm/Support] Don't crash on empty nullptr ranges when decoding LEBs 2020-04-06 14:14:11 +02:00
LICENSE.TXT
LineIterator.h Fix line_iterator uninitialized variable warnings. NFCI. 2019-11-03 11:20:12 +00:00
Locale.h
LockFileManager.h Improve module.pcm lock file performance on machines with high core counts 2020-03-23 14:59:39 -07:00
LowLevelTypeImpl.h LowLevelTypeImpl.h - fix implicit Debug.h dependency. NFC. 2020-06-23 09:43:39 +01:00
MachineValueType.h [MVT] Add new MVT types for RISC-V vector. 2020-07-01 01:07:50 +08:00
ManagedStatic.h [ManagedStatic] Fix build errors with clang-tblgen in Debug mode using MSVC 2019 v16.6 2020-05-25 16:59:40 +03:00
MathExtras.h Support: Add specializations for reverseBits to use builtin 2020-04-03 14:52:54 -04:00
MD5.h Avoid SmallString.h include in MD5.h, NFC 2020-02-26 09:10:24 -08:00
MemAlloc.h [ADT] Move allocate_buffer to MemAlloc.h and out of line 2020-04-24 13:32:50 +02:00
Memory.h [Support][NFC] Add a comment about the semantics of MF_HUGE_HINT flag 2020-01-09 17:34:18 +00:00
MemoryBuffer.h Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
MipsABIFlags.h
MSVCErrorWorkarounds.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
Mutex.h [Support] Base SmartMutex on std::recursive_mutex 2019-08-07 11:59:57 +00:00
NativeFormatting.h NativeFormatting.h - reduce raw_ostream.h include to forward declaration. NFC. 2020-05-09 13:32:14 +01:00
OnDiskHashTable.h [Alignment][NFC] Remove unneeded llvm:: scoping on Align types 2019-09-27 12:54:21 +00:00
OptimizedStructLayout.h Rename OptimalLayout to OptimizedStructLayout at Chris's request. 2020-04-10 00:14:20 -04:00
Parallel.h [Support] Move LLD's parallel algorithm wrappers to support 2020-05-05 15:21:05 -07:00
Path.h [Support] Add path::user_config_directory for $XDG_CONFIG_HOME etc 2020-07-06 12:20:55 +02:00
PluginLoader.h
PointerLikeTypeTraits.h A few cosmetic cleanups to StringMap/StringSet.h, including fixing 2020-04-11 22:14:35 -07:00
PrettyStackTrace.h [Driver] When forcing a crash print the bug report message 2020-06-29 13:13:12 +01:00
Printable.h
Process.h Introduce llvm::sys::Process::getProcessId() and adopt it 2020-04-16 15:05:37 +03:00
Program.h [Windows] Fix limit on command line size 2020-07-23 11:39:42 +07:00
RandomNumberGenerator.h
raw_os_ostream.h
raw_ostream.h [Support] Class to facilitate file locking 2020-07-30 13:42:20 +07:00
raw_sha1_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h [ASTMatchers] Enhanced support for matchers taking Regex arguments 2020-07-02 14:52:25 +01:00
Registry.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
ReverseIteration.h
RISCVAttributeParser.h RISCVAttributeParser.h - remove unnecessary ScopedPrinter.h include. NFC. 2020-05-11 22:11:21 +01:00
RISCVAttributes.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
RISCVTargetParser.def [RISCV] Add support for -mcpu option. 2020-07-16 11:46:22 -07:00
RWMutex.h [RWMutex] Simplify availability check 2019-08-16 21:25:40 +00:00
SaveAndRestore.h
ScaledNumber.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
ScopedPrinter.h
SHA1.h SHA1.h - remove unnecessary ArrayRef.h/StringRef.h includes. NFC. 2020-04-21 15:12:17 +01:00
Signals.h [Support] Optionally call signal handlers when a function wrapped by the the CrashRecoveryContext fails 2020-01-11 15:27:07 -05:00
Signposts.h
SmallVectorMemoryBuffer.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SMLoc.h
SMTAPI.h
SourceMgr.h [SourceMgr] Tidy up the SourceMgr header file to include less stuff. 2020-04-25 21:18:59 -07:00
SpecialCaseList.h [Support/Utils] As part of using inclusive language within the 2020-06-20 00:15:50 -07:00
StringSaver.h Temporarily Revert "[Support] Make UniqueStringSaver wrap a StringSet" 2020-05-14 19:18:20 -07:00
SuffixTree.h [SuffixTree][MachOpt] Factoring out Suffix Tree and adding Unit Tests 2020-06-08 12:44:18 -07:00
SwapByteOrder.h [SystemZ/ZOS] Define Endian constants for z/OS. 2020-07-06 06:48:16 -04:00
SymbolRemappingReader.h SymbolRemappingReader.h - pass Twine by reference not value. NFCI. 2020-07-25 12:48:14 +01:00
SystemUtils.h [opt] Remove obsolete --quiet option 2020-07-08 13:21:20 -07:00
TargetOpcodes.def GlobalISel: Handle llvm.roundeven 2020-07-29 20:01:12 -04:00
TargetParser.h [RISCV] Add support for -mcpu option. 2020-07-16 11:46:22 -07:00
TargetRegistry.h Revert rGf0bab7875e78e01c149d12302dcc4b6d4c43e25c - "Triple.h - reduce Twine.h include to forward declarations. NFC." 2020-06-26 14:46:40 +01:00
TargetSelect.h
TarWriter.h
TaskQueue.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
thread.h
Threading.h [llvm-cov] Prevent llvm-cov from using too many threads 2020-04-24 15:28:25 -04:00
ThreadLocal.h
ThreadPool.h ThreadPool.h - remove unused BitVector.h include. NFC. 2020-06-27 11:37:46 +01:00
TimeProfiler.h Refactor TimeProfiler write methods (NFC) 2020-03-06 14:34:56 -08:00
Timer.h [Clang][Driver] In -fintegrated-cc1 mode, avoid crashing on exit after a compiler crash 2020-03-13 08:15:35 -04:00
ToolOutputFile.h [Support] Use outs() in ToolOutputFile 2020-06-04 14:56:35 +02:00
TrailingObjects.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
TrigramIndex.h TrigramIndex.h - remove unnecessary StringMap.h include. NFC 2020-04-12 14:30:52 +01:00
type_traits.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
TypeName.h
TypeSize.h [CodeGen] Fix warnings in getVectorTypeBreakdown 2020-06-18 09:54:16 +01:00
Unicode.h
UnicodeCharRanges.h Replace llvm::MutexGuard/UniqueLock with their standard equivalents 2019-08-07 10:57:25 +00:00
Valgrind.h
VersionTuple.h [clang] Include missing LangOpts in getModuleHash. 2020-07-07 17:13:23 -06:00
VirtualFileSystem.h VirtualFileSystem.h - reduce Twine.h include to forward declaration. NFC. 2020-05-29 11:40:56 +01:00
Watchdog.h
Win64EH.h [Windows] Use information from the PE32 exceptions directory to construct unwind plans 2019-10-11 09:03:29 +00:00
WindowsError.h
WithColor.h WithColor.h - reduce CommandLine.h include to forward declaration. NFC. 2020-06-23 17:07:53 +01:00
X86DisassemblerDecoderCommon.h [X86] Remove MODRM_SPLITREGM from the disassembler tables. 2020-07-03 00:16:20 -07:00
X86TargetParser.def [X86] Rename X86_CPU_TYPE_COMPAT_ALIAS/X86_CPU_TYPE_COMPAT/X86_CPU_SUBTYPE_COMPAT macros. NFC 2020-07-12 17:00:24 -07:00
X86TargetParser.h [X86] Rename X86_CPU_TYPE_COMPAT_ALIAS/X86_CPU_TYPE_COMPAT/X86_CPU_SUBTYPE_COMPAT macros. NFC 2020-07-12 17:00:24 -07:00
xxhash.h
YAMLParser.h [YAMLParser] Fix a typo: iff -> if. NFC. 2020-08-04 12:42:42 +08:00
YAMLTraits.h [YAMLTraits] Fix mapping <none> value that followed by comments. 2020-08-04 18:36:05 +08:00