skia /
skcms /
3267c1b94cb724f5b8e972b2bd1ca47249ad54bf focus .tiny builds a bit
These extra flags remove the .eh_handler sections, making the size of
the object files track our minimum contribution a little more tightly.
All the sections I'm seeing now look like bytes we've written.
~/skcms (master↑1|✚2) $ ls -l out/*.tiny/skcms.o
-rw-r--r-- 1 mtklein eng 5556 Jan 12 11:05 out/clang.tiny/skcms.o
-rw-r--r-- 1 mtklein eng 6388 Jan 12 11:05 out/gcc.tiny/skcms.o
~/skcms (master↑1|✚2) $ gobjdump -h out/*.tiny/skcms.o
out/clang.tiny/skcms.o: file format mach-o-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000be5 0000000000000000 0000000000000000 00000230 2**2
CONTENTS, ALLOC, LOAD, RELOC, CODE
1 .literal4 00000014 0000000000000be8 0000000000000be8 00000e18 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .literal16 000001b0 0000000000000c00 0000000000000c00 00000e30 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .cstring 0000002f 0000000000000db0 0000000000000db0 00000fe0 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
out/gcc.tiny/skcms.o: file format mach-o-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000be8 0000000000000000 0000000000000000 00000270 2**2
CONTENTS, ALLOC, LOAD, RELOC, CODE
1 .cstring 0000001f 0000000000000be8 0000000000000be8 00000e58 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .const 0000000e 0000000000000c08 0000000000000c08 00000e78 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .literal16 00000150 0000000000000c20 0000000000000c20 00000e90 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .literal4 00000014 0000000000000d70 0000000000000d70 00000fe0 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
Change-Id: I05a013ac5087e993a0ee2095c4ff9274d8ad07af
Reviewed-on: https://skia-review.googlesource.com/94020
Reviewed-by: Brian Osman <brianosman@google.com>
2 files changed