mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 07:56:43 +00:00

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
28 lines
689 B
ArmAsm
28 lines
689 B
ArmAsm
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | llvm-readobj -t | FileCheck %s
|
|
|
|
_f0:
|
|
.long 0
|
|
L0:
|
|
.long 0
|
|
|
|
// CHECK: Symbols [
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: _f0 (1)
|
|
// CHECK: Type: Section (0xE)
|
|
// CHECK: Section: __text (0x1)
|
|
// CHECK: RefType: UndefinedNonLazy (0x0)
|
|
// CHECK: Flags [ (0x0)
|
|
// CHECK: ]
|
|
// CHECK: Value: 0x0
|
|
// CHECK: }
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: L0 (5)
|
|
// CHECK: Type: Section (0xE)
|
|
// CHECK: Section: __text (0x1)
|
|
// CHECK: RefType: UndefinedNonLazy (0x0)
|
|
// CHECK: Flags [ (0x0)
|
|
// CHECK: ]
|
|
// CHECK: Value: 0x4
|
|
// CHECK: }
|
|
// CHECK: ]
|