summaryrefslogtreecommitdiff
path: root/test/Object/ARM/symbol-addr.ll
blob: 6bcbde9f9f181e070f424c9567eaea92f204befe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}