llvm-project/llvm/test/MC/COFF/directive-section-character...

24 lines
489 B
LLVM

; 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: 0xB5
; CHECK: Characteristics [
; CHECK: IMAGE_SCN_ALIGN_1BYTES
; CHECK: IMAGE_SCN_LNK_INFO
; CHECK: IMAGE_SCN_LNK_REMOVE
; CHECK: ]
; CHECK: }