[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


================
@@ -4,13 +4,42 @@
 # RUN: yaml2obj %s -o %t
 # RUN: llvm-objcopy --decompress-debug-sections %t %t.de
 # RUN: llvm-readelf -S %t.de | FileCheck %s
+# RUN: llvm-objcopy --compress-sections '*nonalloc=none' --compress-sections .debugx=none %t %t.de
----------------
jh7370 wrote:

These should use different output file names, to make it easier to do post mortems on the test.

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


More information about the llvm-commits mailing list