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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 17:14:00 PDT 2024


================
@@ -215,23 +215,41 @@ static Error dumpSectionToFile(StringRef SecName, StringRef Filename,
 }
 
 Error Object::compressOrDecompressSections(const CommonConfig &Config) {
-  // Build a list of the debug sections we are going to replace.
+  // Build a list of sections we are going to replace.
   // We can't call `AddSection` while iterating over sections,
   // because it would mutate the sections array.
----------------
MaskRay wrote:

Fixed

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


More information about the llvm-commits mailing list