mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +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
27 lines
420 B
ArmAsm
27 lines
420 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj --symbols - | FileCheck %s
|
|
|
|
|
|
.globl f1
|
|
.type f1, @function
|
|
.set micromips
|
|
f1:
|
|
nop
|
|
|
|
.globl d1
|
|
.type d1, @object
|
|
d1:
|
|
.word 42
|
|
|
|
.globl f2
|
|
.type f2, @function
|
|
.set nomicromips
|
|
f2:
|
|
nop
|
|
|
|
// CHECK-LABEL: Name: d1
|
|
// CHECK: Other: 0
|
|
// CHECK-LABEL: Name: f1
|
|
// CHECK: Other [ (0x80)
|
|
// CHECK-LABEL: Name: f2
|
|
// CHECK: Other: 0
|