aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/X86/i128-debuginfo.c
blob: 4b865c1bed9f089bde80cb58bc9d7f1f9af09d32 (plain)
1
2
3
4
5
6
7
8
9
10
// no autogeneration since update_cc_test_checks does not support -g
// RUN: %clang_cc1 -triple x86_64-pc-linux -O1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s

// CHECK-LABEL: define{{.*}} i128 @add(i128 noundef %a)
// CHECK: #dbg_value(i128 %a, ![[DI:.*]], !DIExpression()
__int128_t add(__int128_t a) {
  return a + a;
}

// CHECK: ![[DI]] = !DILocalVariable(name: "a", arg: 1