brintos

brintos / llvm-project-archived public Read only

0
0
Text · 369 B · d18353a Raw
18 lines · plain
1; RUN: llc -mtriple=x86_64 -O0 < %s | FileCheck %s2 3; Check that we don't crash on this input.4; CHECK-LABEL: @foo5; CHECK: __stack_chk_guard6; CHECK: retq7define hidden void @foo(ptr %ptr) #0 {8entry:9  %args.addr = alloca ptr, align 810  %0 = va_arg ptr %args.addr, ptr11  store ptr %0, ptr %ptr12  ret void13}14 15attributes #0 = { sspstrong }16attributes #1 = { optsize }17 18