aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/dot-symbol-assignment.s
blob: 00fe205082be75a2477ef3fe2dbbd74ba5ae8dbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -sections -section-data | FileCheck %s

one:
	.quad 0xffffffffffffffff

. = . + 16
two:
	.quad 0xeeeeeeeeeeeeeeee

. = 0x20
three:
	.quad 0xdddddddddddddddd

// CHECK:        Section {
// CHECK:          Name: .text
// CHECK-NEXT:     Type:
// CHECK-NEXT:     Flags [
// CHECK:          SectionData (
// CHECK-NEXT:     0000: FFFFFFFF FFFFFFFF 00000000 00000000
// CHECK-NEXT:     0010: 00000000 00000000 EEEEEEEE EEEEEEEE
// CHECK-NEXT:     0020: DDDDDDDD DDDDDDDD
// CHECK-NEXT:     )