Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
invalid-ptrauth-const4.ll
blob: 843a220458a61b5f0554d7c0bf27d7f19f4f3d2b [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
@var
=
global
i32
0
; CHECK: error: constant ptrauth integer discriminator must be i64 constant
@auth_var
=
global
ptr
ptrauth
(
ptr
@var
,
i32
2
,
ptr
null
,
i64
ptrtoint
(
ptr
@var
to
i64
))