2014-02-18 04:48:32 +08:00
|
|
|
// 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
|
|
|
|
|
2015-11-05 07:50:29 +08:00
|
|
|
.align 4
|
|
|
|
. = three + 9
|
|
|
|
|
2014-02-18 04:48:32 +08:00
|
|
|
// 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
|
2015-11-05 07:50:29 +08:00
|
|
|
// CHECK-NEXT: 0020: DDDDDDDD DDDDDDDD 00 |
|
2014-02-18 04:48:32 +08:00
|
|
|
// CHECK-NEXT: )
|