• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 [ (0x40)
13// CHECK-NEXT:    ]
14// CHECK-NEXT:    Section: .group
15// CHECK-NEXT:  }
16
17
18	.section	.text._ZN4llvm11SmallVectorIcLj0EEC2Ev,"axG",@progbits,_ZN4llvm11SmallVectorIcLj0EEC2Ev,comdat
19.Ltmp2:
20	addis 2, 12, .TOC.-.Ltmp2@ha
21.Ltmp3:
22	.localentry	_ZN4llvm11SmallVectorIcLj0EEC2Ev, .Ltmp3-.Ltmp2
23