mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
The .object_arch directive indicates an alternative architecture to be specified in the object file. The directive does *not* effect the enabled feature bits for the object file generation. This is particularly useful when the code performs runtime detection and would like to indicate a lower architecture as the requirements than the actual instructions used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200451 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
189 B
ArmAsm
12 lines
189 B
ArmAsm
@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s | FileCheck %s
|
|
|
|
.syntax unified
|
|
|
|
.arch armv7
|
|
.object_arch armv4
|
|
|
|
@ CHECK: .text
|
|
@ CHECK: .arch armv7
|
|
@ CHECK: .object_arch armv4
|
|
|