Skip to content

Commit 711273c

Browse files
committed
Use same check values for 32bit test.
1 parent ed93efb commit 711273c

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

llvm/docs/CommandGuide/llvm-size.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ OPTIONS
4444
.. option:: --exclude-pagezero
4545

4646
Do not include the ``__PAGEZERO`` segment when calculating size information
47-
for Mach-O files. ``__PAGEZERO`` segment is a virtual memory region used
47+
for Mach-O files. The ``__PAGEZERO`` segment is a virtual memory region used
4848
for memory protection that does not contribute to actual size, and excluding
4949
can provide a better representation of actual size.
5050

llvm/test/tools/llvm-size/macho-pagezero.test

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,16 @@
88

99
# RUN: yaml2obj %s --docnum=2 -o %t-pagezero32.o
1010
# RUN: llvm-size %t-pagezero32.o | \
11-
# RUN: FileCheck %s --check-prefix=NORMAL32 --match-full-lines
11+
# RUN: FileCheck %s --check-prefix=NORMAL --match-full-lines
1212
# RUN: llvm-size --exclude-pagezero %t-pagezero32.o | \
13-
# RUN: FileCheck %s --check-prefix=SKIP32 --match-full-lines
13+
# RUN: FileCheck %s --check-prefix=SKIP --match-full-lines
1414

1515
# NORMAL:__TEXT __DATA __OBJC others dec hex
1616
# NORMAL-NEXT:20 100 0 4096 4216 1078
1717

1818
# SKIP:__TEXT __DATA __OBJC others dec hex
1919
# SKIP-NEXT:20 100 0 0 120 78
2020

21-
# NORMAL32:__TEXT __DATA __OBJC others dec hex
22-
# NORMAL32-NEXT:20 100 0 4096 4216 1078
23-
24-
# SKIP32:__TEXT __DATA __OBJC others dec hex
25-
# SKIP32-NEXT:20 100 0 0 120 78
26-
2721
--- !mach-o
2822
FileHeader:
2923
magic: 0xFEEDFACF

0 commit comments

Comments
 (0)