[llvm] [llvm-objcopy] Add --compress-sections (PR #85036)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 02:37:32 PDT 2024


================
@@ -261,6 +261,9 @@ struct CommonConfig {
   bool DecompressDebugSections = false;
 
   DebugCompressionType CompressionType = DebugCompressionType::None;
+
+  llvm::SmallVector<std::pair<NameMatcher, llvm::DebugCompressionType>, 0>
----------------
jh7370 wrote:

Nit: `llvm::` prefix seems unnecessary?

It's a little unfortunate that the name is `DebugCompressionType`, since with this change, the value will be used in non-debug contexts. We should look at renaming that as a follow-up.

https://github.com/llvm/llvm-project/pull/85036


More information about the llvm-commits mailing list