Skip to content

Commit 9932e2d

Browse files
author
git apple-llvm automerger
committed
Merge commit 'c1d7373d6e25' from apple/master into swift/master-next
2 parents a2ae90c + c1d7373 commit 9932e2d

File tree

6 files changed

+21
-70
lines changed

6 files changed

+21
-70
lines changed

llvm/test/MC/AArch64/arm64-mapping-across-sections.s

Lines changed: 0 additions & 28 deletions
This file was deleted.

llvm/test/MC/AArch64/arm64-mapping-within-section.s

Lines changed: 0 additions & 23 deletions
This file was deleted.

llvm/test/MC/AArch64/mapping-within-section.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
1+
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s | llvm-nm - | FileCheck %s
22

33
.text
44
// $x at 0x0000
@@ -18,6 +18,6 @@
1818
// $x at 0x0018
1919
add x0, x0, x0
2020

21-
// CHECK: 00000004 .text 00000000 $d
22-
// CHECK-NEXT: 00000000 .text 00000000 $x
23-
// CHECK-NEXT: 00000064 .text 00000000 $x
21+
// CHECK: 0000000000000004 t $d.1
22+
// CHECK-NEXT: 0000000000000000 t $x.0
23+
// CHECK-NEXT: 0000000000000064 t $x.2

llvm/test/MC/AArch64/size-directive.s

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: | FileCheck %s --check-prefix=CHECK-ASM
33
// RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=obj -o %t
44
// RUN: llvm-readobj -S --sd %t | FileCheck %s --check-prefix=CHECK-OBJ
5-
// RUN: llvm-objdump -t %t | FileCheck %s --check-prefix=CHECK-SYMS
5+
// RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMS
66

77
.section .size.aarch64_size
88

@@ -31,9 +31,10 @@ aarch64_size:
3131
// CHECK-OBJ-NEXT: 0010: 00000000 0000 |......|
3232
// CHECK-OBJ-NEXT: )
3333

34-
// CHECK-SYMS: 0000000000000000 .size.aarch64_size 00000000 $d.0
35-
// CHECK-SYMS: 0000000000000000 g F .size.aarch64_size 00000000 aarch64_size
36-
// CHECK-SYMS: 0000000000000000 *UND* 00000000 also_double_word
37-
// CHECK-SYMS: 0000000000000000 *UND* 00000000 double_word
38-
// CHECK-SYMS: 0000000000000000 *UND* 00000000 full_word
39-
// CHECK-SYMS: 0000000000000000 *UND* 00000000 half_word
34+
// SYMS: Type Bind Vis Ndx Name
35+
// SYMS: NOTYPE LOCAL DEFAULT 3 $d.0
36+
// SYMS-NEXT: FUNC GLOBAL DEFAULT 3 aarch64_size
37+
// SYMS-NEXT: NOTYPE GLOBAL DEFAULT UND also_double_word
38+
// SYMS-NEXT: NOTYPE GLOBAL DEFAULT UND double_word
39+
// SYMS-NEXT: NOTYPE GLOBAL DEFAULT UND full_word
40+
// SYMS-NEXT: NOTYPE GLOBAL DEFAULT UND half_word

llvm/test/MC/ELF/common-redeclare.s

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s | llvm-objdump -t - | FileCheck %s
1+
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s | llvm-readelf -s - | FileCheck %s
22

3-
# CHECK: 0000000000000004 g O *COM* 00000004 C
3+
# CHECK: Value Size Type Bind Vis Ndx Name
4+
# CHECK: 0000000000000004 4 OBJECT GLOBAL DEFAULT COM C
45
.comm C,4,4
56
.comm C,4,4

llvm/test/MC/PowerPC/ppc64-localentry-symbols.s

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-freebsd13.0 %s -o %t
2-
# RUN: llvm-objdump -t %t | FileCheck %s
2+
# RUN: llvm-readelf -s %t | FileCheck %s
33

4-
# CHECK: 0000000000000000 gw F .text 00000000 0x60 __impl_foo
5-
# CHECK: 0000000000000000 g F .text 00000000 0x60 foo
6-
# CHECK: 0000000000000000 gw F .text 00000000 0x60 foo@FBSD_1.1
7-
# CHECK: 0000000000000008 g F .text 00000000 0x60 func
8-
# CHECK: 0000000000000008 gw F .text 00000000 0x60 weak_func
4+
# CHECK: Type Bind Vis Ndx Name
5+
# CHECK: FUNC GLOBAL DEFAULT [<other: 0x60>] 2 foo
6+
# CHECK-NEXT: FUNC WEAK DEFAULT [<other: 0x60>] 2 foo@FBSD_1.1
7+
# CHECK-NEXT: FUNC GLOBAL DEFAULT [<other: 0x60>] 2 func
8+
# CHECK-NEXT: FUNC WEAK DEFAULT [<other: 0x60>] 2 weak_func
99

1010
.text
1111
.abiversion 2

0 commit comments

Comments
 (0)