File: build-attributes-asm-non_aeabi.s

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,245,028 kB
  • sloc: cpp: 7,619,726; ansic: 1,434,018; asm: 1,058,748; python: 252,740; f90: 94,671; objc: 70,685; lisp: 42,813; pascal: 18,401; sh: 8,601; ml: 5,111; perl: 4,720; makefile: 3,675; awk: 3,523; javascript: 2,409; xml: 892; fortran: 770
file content (49 lines) | stat: -rw-r--r-- 2,371 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// RUN: llvm-mc -triple=aarch64 %s -o - | FileCheck %s --check-prefix=ASM
// RUN: llvm-mc -triple=aarch64 -filetype=obj %s -o - | llvm-readelf --hex-dump=.ARM.attributes - | FileCheck %s --check-prefix=ELF

// ASM: .aeabi_subsection	private_subsection_1, optional, uleb128
// ASM: .aeabi_attribute 12, 257
// ASM: .aeabi_subsection	aeabi_2, required, uleb128
// ASM: .aeabi_attribute 76, 257
// ASM: .aeabi_subsection	aeabi_3, optional, ntbs
// ASM: .aeabi_attribute 34, hello_llvm
// ASM: .aeabi_subsection	private_subsection_4, required, ntbs
// ASM: .aeabi_attribute 777, "hello_llvm"
// ASM: .aeabi_subsection	private_subsection_1, optional, uleb128
// ASM: .aeabi_attribute 876, 257
// ASM: .aeabi_subsection	aeabi_2, required, uleb128
// ASM: .aeabi_attribute 876, 257
// ASM: .aeabi_subsection aeabi_3, optional, ntbs
// ASM: .aeabi_attribute 876, "hello_llvm"
// ASM: .aeabi_subsection	private_subsection_4, required, ntbs
// ASM: .aeabi_attribute 876, hello_llvm

// ELF: Hex dump of section '.ARM.attributes':
// ELF: 0x00000000 41220000 00707269 76617465 5f737562 A"...private_sub
// ELF: 0x00000010 73656374 696f6e5f 31000100 0c8102ec section_1.......
// ELF: 0x00000020 06810215 00000061 65616269 5f320000 .......aeabi_2..
// ELF: 0x00000030 004c8102 ec068102 29000000 61656162 .L......)...aeab
// ELF: 0x00000040 695f3300 01012268 656c6c6f 5f6c6c76 i_3..."hello_llv
// ELF: 0x00000050 6d00ec06 2268656c 6c6f5f6c 6c766d22 m..."hello_llvm"
// ELF: 0x00000060 00370000 00707269 76617465 5f737562 .7...private_sub
// ELF: 0x00000070 73656374 696f6e5f 34000001 89062268 section_4....."h
// ELF: 0x00000080 656c6c6f 5f6c6c76 6d2200ec 0668656c ello_llvm"...hel
// ELF: 0x00000090 6c6f5f6c 6c766d00                   lo_llvm.


.aeabi_subsection private_subsection_1, optional, uleb128
.aeabi_attribute 12, 257
.aeabi_subsection aeabi_2, required, uleb128
.aeabi_attribute 76, 257
.aeabi_subsection aeabi_3, optional, ntbs
.aeabi_attribute 34, hello_llvm
.aeabi_subsection private_subsection_4, required, ntbs
.aeabi_attribute 777, "hello_llvm"
.aeabi_subsection private_subsection_1, optional, uleb128
.aeabi_attribute 876, 257
.aeabi_subsection aeabi_2, required, uleb128
.aeabi_attribute 876, 257
.aeabi_subsection aeabi_3, optional, ntbs
.aeabi_attribute 876, "hello_llvm"
.aeabi_subsection private_subsection_4, required, ntbs
.aeabi_attribute 876, hello_llvm