Home
last modified time | relevance | path

Searched refs:DebugCompressionType (Results 1 – 19 of 19) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCompression.h27 enum class DebugCompressionType { enum
81 inline Format formatFor(DebugCompressionType Type) { in formatFor()
83 case DebugCompressionType::None: in formatFor()
85 case DebugCompressionType::Zlib: in formatFor()
87 case DebugCompressionType::Zstd: in formatFor()
97 Params(DebugCompressionType Type) : Params(formatFor(Type)) {} in Params()
117 Error decompress(DebugCompressionType T, ArrayRef<uint8_t> Input,
121 Error decompress(DebugCompressionType T, ArrayRef<uint8_t> Input,
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DDecompressor.h51 DebugCompressionType CompressionType = DebugCompressionType::None;
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DDecompressor.cpp43 CompressionType = DebugCompressionType::Zlib; in consumeCompressedHeader()
46 CompressionType = DebugCompressionType::Zstd; in consumeCompressedHeader()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCAsmInfo.h525 DebugCompressionType CompressDebugSections = DebugCompressionType::None;
869 DebugCompressionType compressDebugSections() const { in compressDebugSections()
873 void setCompressDebugSections(DebugCompressionType CompressDebugSections) { in setCompressDebugSections()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp74 static cl::opt<DebugCompressionType> CompressDebugSections(
76 cl::init(DebugCompressionType::None),
78 cl::values(clEnumValN(DebugCompressionType::None, "none", "No compression"),
79 clEnumValN(DebugCompressionType::Zlib, "zlib", "Use zlib"),
80 clEnumValN(DebugCompressionType::Zstd, "zstd", "Use zstd")),
402 if (CompressDebugSections != DebugCompressionType::None) { in main()
/openbsd-src/gnu/llvm/clang/tools/driver/
H A Dcc1as_main.cpp101 llvm::DebugCompressionType CompressDebugSections =
102 llvm::DebugCompressionType::None;
256 llvm::StringSwitch<llvm::DebugCompressionType>(A->getValue()) in CreateFromArgs()
257 .Case("none", llvm::DebugCompressionType::None) in CreateFromArgs()
258 .Case("zlib", llvm::DebugCompressionType::Zlib) in CreateFromArgs()
259 .Case("zstd", llvm::DebugCompressionType::Zstd) in CreateFromArgs()
260 .Default(llvm::DebugCompressionType::None); in CreateFromArgs()
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTargetOptions.h258 DebugCompressionType CompressDebugSections = DebugCompressionType::None;
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h266 DebugCompressionType CompressionType = DebugCompressionType::None;
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCompression.cpp58 Error compression::decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, in decompress()
81 Error compression::decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, in decompress()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp738 Config.CompressionType = StringSwitch<DebugCompressionType>(A->getValue()) in parseObjcopyOptions()
739 .Case("zlib", DebugCompressionType::Zlib) in parseObjcopyOptions()
740 .Case("zstd", DebugCompressionType::Zstd) in parseObjcopyOptions()
741 .Default(DebugCompressionType::None); in parseObjcopyOptions()
742 if (Config.CompressionType == DebugCompressionType::None) { in parseObjcopyOptions()
1005 Config.CompressionType != DebugCompressionType::None) { in parseObjcopyOptions()
/openbsd-src/gnu/llvm/lld/ELF/
H A DOutputSections.cpp331 if (config->compressDebugSections == DebugCompressionType::None || in maybeCompress()
348 if (config->compressDebugSections == DebugCompressionType::Zstd) { in maybeCompress()
457 if (config->compressDebugSections == DebugCompressionType::Zstd) { in writeTo()
H A DConfig.h199 llvm::DebugCompressionType compressDebugSections;
H A DDriver.cpp989 static DebugCompressionType getCompressDebugSections(opt::InputArgList &args) { in getCompressDebugSections()
994 return DebugCompressionType::Zlib; in getCompressDebugSections()
999 return DebugCompressionType::Zstd; in getCompressDebugSections()
1003 return DebugCompressionType::None; in getCompressDebugSections()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DELFObjectWriter.cpp872 const DebugCompressionType CompressionType = MAI->compressDebugSections(); in writeSectionData()
873 if (CompressionType == DebugCompressionType::None || in writeSectionData()
889 case DebugCompressionType::None: in writeSectionData()
891 case DebugCompressionType::Zlib: in writeSectionData()
894 case DebugCompressionType::Zstd: in writeSectionData()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp442 DebugCompressionType Type; in visit()
445 Type = DebugCompressionType::Zlib; in visit()
448 Type = DebugCompressionType::Zstd; in visit()
515 case DebugCompressionType::None: in visit()
518 case DebugCompressionType::Zlib: in visit()
521 case DebugCompressionType::Zstd: in visit()
535 DebugCompressionType CompressionType, in CompressedSection()
552 : ChType(ChType), CompressionType(DebugCompressionType::None), in CompressedSection()
H A DELFObject.h30 enum class DebugCompressionType; variable
540 DebugCompressionType CompressionType;
547 DebugCompressionType CompressionType, bool Is64Bits);
H A DELFObjcopy.cpp507 if (Config.CompressionType != DebugCompressionType::None) { in replaceAndRemoveSections()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DCodeGenOptions.def31 ENUM_CODEGENOPT(CompressDebugSections, llvm::DebugCompressionType, 2,
32 llvm::DebugCompressionType::None)
/openbsd-src/gnu/llvm/clang/include/clang/Driver/
H A DOptions.td5423 NormalizedValuesScope<"llvm::DebugCompressionType">, NormalizedValues<["None", "Zlib", "Zstd"]>,