diff options
author | Fangrui Song <i@maskray.me> | 2022-09-08 16:11:29 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-09-08 16:11:29 -0700 |
commit | 781dea021a4a38aed89ea0cbf8c0d3641b16d56d (patch) | |
tree | db1a4a4c875ac0573da95c17a818b0723873a4ab /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | 580f725d486d47a3baaf445ca6f891fbfa54cd45 (diff) | |
download | llvm-781dea021a4a38aed89ea0cbf8c0d3641b16d56d.zip llvm-781dea021a4a38aed89ea0cbf8c0d3641b16d56d.tar.gz llvm-781dea021a4a38aed89ea0cbf8c0d3641b16d56d.tar.bz2 |
[Support] Rename DebugCompressionType::Z to Zlib
"Z" was so named when we had both gABI ELFCOMPRESS_ZLIB and the legacy .zdebug support.
Now we have just one zlib format, we should use the more descriptive name.
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index bb05869..6f54f50 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -867,7 +867,7 @@ void ELFWriter::writeSectionData(const MCAssembler &Asm, MCSection &Sec, switch (CompressionType) { case DebugCompressionType::None: llvm_unreachable("has been handled"); - case DebugCompressionType::Z: + case DebugCompressionType::Zlib: ChType = ELF::ELFCOMPRESS_ZLIB; break; case DebugCompressionType::Zstd: |