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 | 255a8c8b13b1ed83f1a45e1ca37927dfc1752390 (patch) | |
tree | 050b25d735fe1fb1942f92707732cf94fbc6d291 /llvm/test | |
parent | c83cfb9dfa2f1ebab5bdc5c26642ada78b8b0ea7 (diff) | |
download | bcm5719-llvm-255a8c8b13b1ed83f1a45e1ca37927dfc1752390.tar.gz bcm5719-llvm-255a8c8b13b1ed83f1a45e1ca37927dfc1752390.zip |
MC/Mach-O: Set SOME_INSTRUCTIONS bit for sections.
llvm-svn: 95135
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/MachO/section-flags.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/MachO/section-flags.s b/llvm/test/MC/MachO/section-flags.s new file mode 100644 index 00000000000..8ac1bbff755 --- /dev/null +++ b/llvm/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 |