llvm/test/MC/MachO/section-attributes.s
Davide Italiano 537f16ebe4 [MC] Convert other MachO tests from macho-dump to llvm-readobj.
This commit accomplish two goals:
1) it's a step forward to deprecate macho-dump, now less than 40 tests
rely on it.

2) It tests all the MachO specific features introduced in llvm-readobj in
the following commits:  r246789, r246665, r246474.

While the conversion is mostly mechanical (I double-checked all the
tests output one by one, but still), a post-commit review is greatly
appreciated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246904 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-05 01:02:05 +00:00

11 lines
238 B
ArmAsm

// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o %t
// RUN: llvm-readobj -s -sd %t | FileCheck %s
.section __TEXT,__objc_opt_ro
.long 0
// CHECK: Section {
// CHECK: Index: 1
// CHECK: Attributes [ (0x0)
// CHECK: ]