[llvm] [llvm-objcopy] Add --compress-sections (PR #85036)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 28 01:54:14 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.
----------------
jh7370 wrote:
Something looks a little off with this comment now, possibly as a result of previous changes. It might just be that `AddSection` should be `addSection`.
https://github.com/llvm/llvm-project/pull/85036
More information about the llvm-commits
mailing list