1//#check radix formats of llvm-nm 2//RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t.o 3//RUN: llvm-nm -radix=d %t.o | FileCheck %s 4//RUN: llvm-nm -radix=o %t.o | FileCheck --check-prefix="OCTAL" %s 5//RUN: llvm-nm -t=x %t.o | FileCheck --check-prefix="HEX" %s 6 7 .text 8 .file "1.c" 9 .type i0,@object # @i0 10 .bss 11 .globl i0 12 .align 4 13i0: 14 .long 0 # 0x0 15 .size i0, 4 16 17 .type i1,@object # @i1 18 .data 19 .globl i1 20 .align 4 21i1: 22 .long 1 # 0x1 23 .size i1, 4 24 25 .type i2,@object # @i2 26 .globl i2 27 .align 4 28i2: 29 .long 2 # 0x2 30 .size i2, 4 31 32 .type i3,@object # @i3 33 .globl i3 34 .align 4 35i3: 36 .long 3 # 0x3 37 .size i3, 4 38 39 .type i4,@object # @i4 40 .globl i4 41 .align 4 42i4: 43 .long 4 # 0x4 44 .size i4, 4 45 46 .type i5,@object # @i5 47 .globl i5 48 .align 4 49i5: 50 .long 5 # 0x5 51 .size i5, 4 52 53 .type i6,@object # @i6 54 .globl i6 55 .align 4 56i6: 57 .long 6 # 0x6 58 .size i6, 4 59 60 .type i7,@object # @i7 61 .globl i7 62 .align 4 63i7: 64 .long 7 # 0x7 65 .size i7, 4 66 67 .type i8,@object # @i8 68 .globl i8 69 .align 4 70i8: 71 .long 8 # 0x8 72 .size i8, 4 73 74 .type i9,@object # @i9 75 .globl i9 76 .align 4 77i9: 78 .long 9 # 0x9 79 .size i9, 4 80 81 .type i10,@object # @i10 82 .globl i10 83 .align 4 84i10: 85 .long 10 # 0xa 86 .size i10, 4 87 88 .type i11,@object # @i11 89 .globl i11 90 .align 4 91i11: 92 .long 11 # 0xb 93 .size i11, 4 94 95 .type i12,@object # @i12 96 .globl i12 97 .align 4 98i12: 99 .long 12 # 0xc 100 .size i12, 4 101 102 .type i13,@object # @i13 103 .globl i13 104 .align 4 105i13: 106 .long 13 # 0xd 107 .size i13, 4 108 109 .type i14,@object # @i14 110 .globl i14 111 .align 4 112i14: 113 .long 14 # 0xe 114 .size i14, 4 115 116 .type i15,@object # @i15 117 .globl i15 118 .align 4 119i15: 120 .long 15 # 0xf 121 .size i15, 4 122 123 .type i16,@object # @i16 124 .globl i16 125 .align 4 126i16: 127 .long 16 # 0x10 128 .size i16, 4 129 130 .type i17,@object # @i17 131 .globl i17 132 .align 4 133i17: 134 .long 17 # 0x11 135 .size i17, 4 136 137 .type i18,@object # @i18 138 .globl i18 139 .align 4 140i18: 141 .long 18 # 0x12 142 .size i18, 4 143 144 .type i19,@object # @i19 145 .globl i19 146 .align 4 147i19: 148 .long 19 # 0x13 149 .size i19, 4 150 151 .type i20,@object # @i20 152 .globl i20 153 .align 4 154i20: 155 .long 20 # 0x14 156 .size i20, 4 157 158 .type i21,@object # @i21 159 .globl i21 160 .align 4 161i21: 162 .long 21 # 0x15 163 .size i21, 4 164 165 .type i22,@object # @i22 166 .globl i22 167 .align 4 168i22: 169 .long 22 # 0x16 170 .size i22, 4 171 172 .type i23,@object # @i23 173 .globl i23 174 .align 4 175i23: 176 .long 23 # 0x17 177 .size i23, 4 178 179 .type i24,@object # @i24 180 .globl i24 181 .align 4 182i24: 183 .long 24 # 0x18 184 .size i24, 4 185 186 187 .ident "clang version 3.6.0 (tags/RELEASE_360/final)" 188 .section ".note.GNU-stack","",@progbits 189 190//CHECK: 0000000000000000 B i0 191//CHECK: 0000000000000000 D i1 192//CHECK: 0000000000000036 D i10 193//CHECK: 0000000000000040 D i11 194//CHECK: 0000000000000044 D i12 195//CHECK: 0000000000000048 D i13 196//CHECK: 0000000000000052 D i14 197//CHECK: 0000000000000056 D i15 198//CHECK: 0000000000000060 D i16 199//CHECK: 0000000000000064 D i17 200//CHECK: 0000000000000068 D i18 201//CHECK: 0000000000000072 D i19 202//CHECK: 0000000000000004 D i2 203//CHECK: 0000000000000076 D i20 204//CHECK: 0000000000000080 D i21 205//CHECK: 0000000000000084 D i22 206//CHECK: 0000000000000088 D i23 207//CHECK: 0000000000000092 D i24 208//CHECK: 0000000000000008 D i3 209//CHECK: 0000000000000012 D i4 210//CHECK: 0000000000000016 D i5 211//CHECK: 0000000000000020 D i6 212//CHECK: 0000000000000024 D i7 213//CHECK: 0000000000000028 D i8 214//CHECK: 0000000000000032 D i9 215 216//OCTAL: 0000000000000000 B i0 217//OCTAL: 0000000000000000 D i1 218//OCTAL: 0000000000000044 D i10 219//OCTAL: 0000000000000050 D i11 220//OCTAL: 0000000000000054 D i12 221//OCTAL: 0000000000000060 D i13 222//OCTAL: 0000000000000064 D i14 223//OCTAL: 0000000000000070 D i15 224//OCTAL: 0000000000000074 D i16 225//OCTAL: 0000000000000100 D i17 226//OCTAL: 0000000000000104 D i18 227//OCTAL: 0000000000000110 D i19 228//OCTAL: 0000000000000004 D i2 229//OCTAL: 0000000000000114 D i20 230//OCTAL: 0000000000000120 D i21 231//OCTAL: 0000000000000124 D i22 232//OCTAL: 0000000000000130 D i23 233//OCTAL: 0000000000000134 D i24 234//OCTAL: 0000000000000010 D i3 235//OCTAL: 0000000000000014 D i4 236//OCTAL: 0000000000000020 D i5 237//OCTAL: 0000000000000024 D i6 238//OCTAL: 0000000000000030 D i7 239//OCTAL: 0000000000000034 D i8 240//OCTAL: 0000000000000040 D i9 241 242//HEX: 0000000000000000 B i0 243//HEX: 0000000000000000 D i1 244//HEX: 0000000000000024 D i10 245//HEX: 0000000000000028 D i11 246//HEX: 000000000000002c D i12 247//HEX: 0000000000000030 D i13 248//HEX: 0000000000000034 D i14 249//HEX: 0000000000000038 D i15 250//HEX: 000000000000003c D i16 251//HEX: 0000000000000040 D i17 252//HEX: 0000000000000044 D i18 253//HEX: 0000000000000048 D i19 254//HEX: 0000000000000004 D i2 255//HEX: 000000000000004c D i20 256//HEX: 0000000000000050 D i21 257//HEX: 0000000000000054 D i22 258//HEX: 0000000000000058 D i23 259//HEX: 000000000000005c D i24 260//HEX: 0000000000000008 D i3 261//HEX: 000000000000000c D i4 262//HEX: 0000000000000010 D i5 263//HEX: 0000000000000014 D i6 264//HEX: 0000000000000018 D i7 265//HEX: 000000000000001c D i8 266//HEX: 0000000000000020 D i9 267