1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/tools/llvm-ml/feat00_override.asm
Eric Astor 4082cce59d [ms] [llvm-ml] Introduce command-line compatibility for ml.exe and ml64.exe
Switch to OptParser for command-line handling

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D90058
2020-12-01 17:43:44 -05:00

22 lines
538 B
NASM

; RUN: llvm-ml -m32 %s /Fo - | llvm-readobj --syms - | FileCheck %s
; RUN: llvm-ml -m64 %s /Fo - | llvm-readobj --syms - | FileCheck %s
; RUN: llvm-ml -m32 -safeseh %s /Fo - | llvm-readobj --syms - | FileCheck %s
.code
@feat.00 = 99
noop:
ret
end
; CHECK: Symbol {
; CHECK: Name: @feat.00
; CHECK: Value: 99
; CHECK-NEXT: Section: IMAGE_SYM_ABSOLUTE
; CHECK-NEXT: BaseType: Null
; CHECK-NEXT: ComplexType: Null
; CHECK-NEXT: StorageClass: Static
; CHECK-NEXT: AuxSymbolCount: 0
; CHECK-NEXT: }