aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-09-08 16:11:29 -0700
committerFangrui Song <i@maskray.me>2022-09-08 16:11:29 -0700
commit781dea021a4a38aed89ea0cbf8c0d3641b16d56d (patch)
treedb1a4a4c875ac0573da95c17a818b0723873a4ab /llvm/lib/MC/ELFObjectWriter.cpp
parent580f725d486d47a3baaf445ca6f891fbfa54cd45 (diff)
downloadllvm-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.cpp2
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: