1# RUN: llvm-mc %s -triple=mips -mcpu=mips32r5 -mattr=+virt | \ 2# RUN: FileCheck %s -check-prefix=CHECK-ASM 3# 4# RUN: llvm-mc %s -triple=mips -mcpu=mips32r5 -filetype=obj -o - -mattr=+virt | \ 5# RUN: llvm-readobj -A - | \ 6# RUN: FileCheck %s -check-prefix=CHECK-OBJ 7 8# CHECK-ASM: .module novirt 9 10# Check that MIPS.abiflags has no VZ flag. 11# CHECK-OBJ: MIPS ABI Flags { 12# CHECK-OBJ: ASEs [ (0x0) 13# CHECK-OBJ-NOT: ASEs [ (0x100) 14# CHECK-OBJ-NOT: VZ (0x100) 15# CHECK-OBJ: } 16 17 .module novirt 18 19# FIXME: Test should include gnu_attributes directive when implemented. 20# An explicit .gnu_attribute must be checked against the effective 21# command line options and any inconsistencies reported via a warning. 22