aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/vtable-reloc.ll
blob: 10802e4cf6d51146cc954eb459c38dbce58b2a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -verify-machineinstrs -O0 < %s | FileCheck %s

target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64-unknown-linux-gnu"

@_ZTV3foo = linkonce_odr unnamed_addr constant [1 x ptr] [ptr @__cxa_pure_virtual]
declare void @__cxa_pure_virtual()

; CHECK: .section .data.rel.ro
; CHECK: .quad __cxa_pure_virtual