mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
6cd76408bf
This patch updates tests using llvm-readobj and llvm-readelf, because soon reading from stdin will be achievable only via a '-' as described here: https://bugs.llvm.org/show_bug.cgi?id=46400. Patch with changes to llvm-readobj behavior is here: https://reviews.llvm.org/D83704 Differential Revision: https://reviews.llvm.org/D83912 Reviewed by: jhenderson, MaskRay, grimar
24 lines
491 B
LLVM
24 lines
491 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: }
|
|
|