[llvm] [llvm-size] Add --exclude-pagezero option for Mach-O to exclude __PAGEZERO size. (PR #159574)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 00:03:48 PDT 2025


================
@@ -41,6 +41,13 @@ OPTIONS
  as a separate section entry for ``sysv`` output. If not specified, these
  symbols are ignored.
 
+.. option:: --exclude-pagezero
+
+ Do not include the ``__PAGEZERO`` segment when calculating size information
+ for Mach-O files. ``__PAGEZERO`` segment is a virtual memory region used
----------------
jh7370 wrote:

```suggestion
 for Mach-O files. The ``__PAGEZERO`` segment is a virtual memory region used
```

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


More information about the llvm-commits mailing list