1 ; RUN: llc -mtriple=x86_64 -O0 < %s | FileCheck %s
3 ; Check that we don't crash on this input.
5 ; CHECK: __stack_chk_guard
7 define hidden void @foo(i8** %ptr) #0 {
9 %args.addr = alloca i8*, align 8
10 %0 = va_arg i8** %args.addr, i8*
11 store i8* %0, i8** %ptr
15 attributes #0 = { sspstrong }
16 attributes #1 = { optsize }