xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/vtable-reloc.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -O0 < %s | FileCheck %s
2
3target datalayout = "E-m:e-i64:64-n32:64"
4target triple = "powerpc64-unknown-linux-gnu"
5
6@_ZTV3foo = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (void ()* @__cxa_pure_virtual to i8*)]
7declare void @__cxa_pure_virtual()
8
9; CHECK: .section .data.rel.ro
10; CHECK: .quad __cxa_pure_virtual
11
12