[PATCH] D118724: [lld-macho] Add -pagezero_size
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 12:55:57 PST 2022
oontvoo added inline comments.
================
Comment at: lld/MachO/Target.h:38-39
magic = LP::magic;
pageZeroSize = LP::pageZeroSize;
+ pageZeroSize = config->pagezeroSize.getValueOr(pageZeroSize);
headerSize = sizeof(typename LP::mach_header);
----------------
================
Comment at: lld/test/MachO/pagesize-zero.s:1
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
----------------
could you group all three of these files into the one test file?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118724/new/
https://reviews.llvm.org/D118724
More information about the llvm-commits
mailing list