brintos

brintos / llvm-project-archived public Read only

0
0
Text · 455 B · cfa3435 Raw
13 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-linux-gnu -gkey-instructions %s -debug-info-kind=line-tables-only -gno-column-info -emit-llvm -o - \2// RUN: | FileCheck %s3 4// Array cookie store doesn't need to be a key instruction.5 6struct a { char c; ~a(); };7void b() { new a[2]; }8 9// CHECK:      %call = call {{.*}}ptr @_Znam(i64 noundef 10)10// CHECK-NEXT: store i64 2, ptr %call, align 8, !dbg [[DBG:!.*]]11 12// CHECK: [[DBG]] = !DILocation(line: 7, scope: ![[#]])13