mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
6cd76408bf
This patch updates tests using llvm-readobj and llvm-readelf, because soon reading from stdin will be achievable only via a '-' as described here: https://bugs.llvm.org/show_bug.cgi?id=46400. Patch with changes to llvm-readobj behavior is here: https://reviews.llvm.org/D83704 Differential Revision: https://reviews.llvm.org/D83912 Reviewed by: jhenderson, MaskRay, grimar
28 lines
698 B
ArmAsm
28 lines
698 B
ArmAsm
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | llvm-readobj --symbols - | 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: ]
|