1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/Object/ARM/symbol-addr.ll
Eric Christopher 8cfce53956 When dumping clear the arm/thumb flag for now.
Patch by Nico Rieck!

llvm-svn: 178676
2013-04-03 18:31:12 +00:00

13 lines
396 B
LLVM

; RUN: llc %s -mtriple=arm-unknown-unknown -filetype=obj -o - \
; RUN: | llvm-objdump -t - | FileCheck %s
; RUN: llc %s -mtriple=thumb-unknown-unknown -filetype=obj -o - \
; RUN: | llvm-objdump -t - | FileCheck %s
; Check that the symbol address does not include the ARM/Thumb instruction
; indicator bit.
; CHECK: 00000000 g F .text {{[0-9]+}} test
define i32 @test() {
ret i32 1
}