[llvm] [llvm-size] Fix --totals option for Mach-O files (PR #157904)

Ryan Mansfield via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 16 05:21:57 PDT 2025


================
@@ -16,6 +16,16 @@
 # CHECK-NEXT: [[FILE2]]
 # CHECK-NEXT:      18      36      72     126      7e (TOTALS)
 
+# RUN: yaml2obj %s --docnum=3 -o %t-macho.o
+# RUN: yaml2obj %s --docnum=4 -o %t-macho2.o
+# RUN: llvm-size --totals %t-macho.o %t-macho2.o \
+# RUN:   | FileCheck %s --check-prefix=MACHO-CHECK --strict-whitespace --match-full-lines --implicit-check-not={{.}} -DFILE1=%t-macho.o -DFILE2=%t-macho2.o
----------------
rjmansfield wrote:

Sorry about that, thanks for letting me know.  I think I'll have to force push once more to drop the other commit 

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


More information about the llvm-commits mailing list