aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/COFF/directive-section-characteristics.ll
blob: a44c81d226277f7142287f8d1a368ce95e43dc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; RUN: llc -mtriple i686-windows -filetype obj -o - %s | llvm-readobj -sections \
; RUN:    | FileCheck %s

define dllexport void @function() {
entry:
  ret void
}

; CHECK: Section {
; CHECK:   Name: .text
; CHECK:   PointerToRawData: 0xB4
; CHECK: }

; CHECK: Section {
; CHECK:   Name: .drectve
; CHECK:   PointerToRawData: 0xB8
; CHECK:   Characteristics [
; CHECK:     IMAGE_SCN_ALIGN_1BYTES
; CHECK:     IMAGE_SCN_LNK_INFO
; CHECK:     IMAGE_SCN_LNK_REMOVE
; CHECK:   ]
; CHECK: }