view test/MC/Mips/micromips-label-test-sections.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children c2174574ed3a
line wrap: on
line source

# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
# RUN:   -mattr=+micromips -filetype=obj -o - | llvm-readobj -t | FileCheck %s
  .text
  .set micromips
f:
  nop
g:
  .section .text
h:
  nop

# CHECK: Symbols [
# CHECK:   Symbol {
# CHECK:     Name: f
# CHECK:     Binding: Local
# CHECK:     Type: None
# CHECK:     Other [ (0x80)
# CHECK:       STO_MIPS_MICROMIPS
# CHECK:     ]
# CHECK:     Section: .text
# CHECK:   }
# CHECK:   Symbol {
# CHECK:     Name: g
# CHECK:     Binding: Local
# CHECK:     Type: None
# CHECK:     Other: 0
# CHECK:     Section: .text
# CHECK:   }
# CHECK:   Symbol {
# CHECK:     Name: h
# CHECK:     Binding: Local
# CHECK:     Type: None
# CHECK:     Other [ (0x80)
# CHECK:       STO_MIPS_MICROMIPS
# CHECK:     ]
# CHECK:     Section: .text
# CHECK:   }
# CHECK: ]