Imported Upstream version 5.18.0.205

Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-11-16 08:20:38 +00:00
parent 5cd5df71cc
commit 8e12397d70
28486 changed files with 3867013 additions and 66 deletions

View File

@ -0,0 +1,2 @@
if not 'ARM' in config.root.targets:
config.unsupported = True

View File

@ -0,0 +1,7 @@
RUN: llvm-objdump -triple thumbv7-apple-iOS -disassemble %p/../Inputs/macho-data-in-code.macho-thumbv7 -macho | FileCheck %s
CHECK: 12: 80 bd pop {r7, pc}
CHECK: 14: 38 00 00 00 .long 56 @ KIND_DATA
CHECK: 18: 70 47 bx lr

View File

@ -0,0 +1,12 @@
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=armv7-pc-linux
// RUN: llvm-readobj -t %t.o | FileCheck %s
// RUN: llvm-nm %t.o | FileCheck -allow-empty --check-prefix=NM %s
// Test that nm doesn't print the mapping symbols
// CHECK: Name: $d.0
// NM-NOT: $d.0
.section .foobar,"",%progbits
.asciz "foo"
nop

View File

@ -0,0 +1,4 @@
RUN: llvm-objdump -d -macho -triple=thumbv7-apple-ios \
RUN: %p/../Inputs/macho-text.thumb | FileCheck %s
CHECK: 0: 00 bf nop

View File

@ -0,0 +1,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
}