diff options
Diffstat (limited to 'test/Object/size-trivial-macho.test')
-rw-r--r-- | test/Object/size-trivial-macho.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Object/size-trivial-macho.test b/test/Object/size-trivial-macho.test new file mode 100644 index 0000000..6ecdf5c --- /dev/null +++ b/test/Object/size-trivial-macho.test @@ -0,0 +1,15 @@ +RUN: llvm-size -A %p/Inputs/macho-text-data-bss.macho-x86_64 \ +RUN: | FileCheck %s -check-prefix A +RUN: llvm-size -B %p/Inputs/macho-text-data-bss.macho-x86_64 \ +RUN: | FileCheck %s -check-prefix B + +A: section size addr +A: __text 12 0 +A: __data 4 12 +A: __bss 4 112 +A: __compact_unwind 32 16 +A: __eh_frame 64 48 +A: Total 116 + +B: text data bss dec hex filename +B: 12 100 4 116 74 |