Lines Matching +full:test +full:- +full:static +full:- +full:dbg
1 ; RUN: opt < %s -inline -S | FileCheck %s
5 ; __attribute__((__always_inline__)) static void callee2() { b = 2; }
9 ; clang -S test.c -emit-llvm -O1 -gline-tables-only -fno-strict-aliasing
11 ; CHECK-LABEL: @caller(
13 ; This instruction did not have a !dbg metadata in the callee.
14 ; CHECK: store i32 1, {{.*}}, !dbg [[A:!.*]]
16 ; This instruction came from callee with a !dbg metadata.
17 ; CHECK: store i32 2, {{.*}}, !dbg [[B:!.*]]
20 ; CHECK: ret void, !dbg [[A]]
24 ; CHECK-DAG: [[A]] = !DILocation(line: 4, scope: !{{[0-9]+}})
27 ; CHECK-DAG: [[B]] = !DILocation(line: 2, scope: !{{[0-9]+}}, inlinedAt: [[A_INL:![0-9]*]])
28 ; CHECK-DAG: [[A_INL]] = distinct !DILocation(line: 4, scope: !{{[0-9]+}})
31 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
32 target triple = "x86_64-unknown-linux-gnu"
41 store i32 2, i32* @b, align 4, !dbg !11
46 define void @caller() #0 !dbg !4 {
48 tail call void @callee(), !dbg !12
49 ret void, !dbg !12
52 …-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math…
54 !llvm.dbg.cu = !{!0}
59 !1 = !DIFile(filename: "test.c", directory: "/code/llvm/build0")
62 !5 = !DIFile(filename: "test.c", directory: "/code/llvm/build0")