Home | History | Annotate | Download | only in PowerPC
      1 // RUN: llvm-mc < %s -filetype=obj -triple powerpc64le-pc-linux | \
      2 // RUN:   llvm-readobj -t | FileCheck %s
      3 
      4 // This used to crash. Make sure it produce the correct symbol.
      5 
      6 // CHECK:       Symbol {
      7 // CHECK:         Name: _ZN4llvm11SmallVectorIcLj0EEC2Ev (12)
      8 // CHECK-NEXT:    Value: 0x0
      9 // CHECK-NEXT:    Size: 0
     10 // CHECK-NEXT:    Binding: Local (0x0)
     11 // CHECK-NEXT:    Type: None (0x0)
     12 // CHECK-NEXT:    Other: 64
     13 // CHECK-NEXT:    Section: .group
     14 // CHECK-NEXT:  }
     15 
     16 
     17 	.section	.text._ZN4llvm11SmallVectorIcLj0EEC2Ev,"axG",@progbits,_ZN4llvm11SmallVectorIcLj0EEC2Ev,comdat
     18 .Ltmp2:
     19 	addis 2, 12, .TOC.-.Ltmp2@ha
     20 .Ltmp3:
     21 	.localentry	_ZN4llvm11SmallVectorIcLj0EEC2Ev, .Ltmp3-.Ltmp2
     22