llvm-for-llvmta/test/MC/COFF/directive-section-character...

24 lines
491 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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: }