linux-packaging-mono/external/llvm/test/MC/COFF/directive-section-characteristics.ll
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

24 lines
488 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: 0xB8
; CHECK: Characteristics [
; CHECK: IMAGE_SCN_ALIGN_1BYTES
; CHECK: IMAGE_SCN_LNK_INFO
; CHECK: IMAGE_SCN_LNK_REMOVE
; CHECK: ]
; CHECK: }