diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-02 21:44:01 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-02 21:44:01 +0000 |
commit | e1ec617c6abf0b9dc1eecbbfe483bda3bb2b7795 (patch) | |
tree | 27ae77e84a066e7e1f1d9ba44754a90c3238f3b9 /test/MC/MachO | |
parent | e0faa547059c8d10cf34e63ea26a994291116228 (diff) | |
download | external_llvm-e1ec617c6abf0b9dc1eecbbfe483bda3bb2b7795.zip external_llvm-e1ec617c6abf0b9dc1eecbbfe483bda3bb2b7795.tar.gz external_llvm-e1ec617c6abf0b9dc1eecbbfe483bda3bb2b7795.tar.bz2 |
MC/Mach-O: Set SOME_INSTRUCTIONS bit for sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/MachO')
-rw-r--r-- | test/MC/MachO/section-flags.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/MachO/section-flags.s b/test/MC/MachO/section-flags.s new file mode 100644 index 0000000..8ac1bbf --- /dev/null +++ b/test/MC/MachO/section-flags.s @@ -0,0 +1,14 @@ +// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump | FileCheck %s +// +// CHECK: # Section 0 +// CHECK: 'section_name', '__text +// CHECK: 'flags', 0x80000000 +// CHECK: # Section 1 +// CHECK: 'section_name', '__data +// CHECK: 'flags', 0x400 + + .text + + .data +f0: + movl $0, %eax |