clang/test/DebugInfo/X86/i128-debuginfo.c
raw| 1 | // no autogeneration since update_cc_test_checks does not support -g |
| 2 | // RUN: %clang_cc1 -triple x86_64-pc-linux -O1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s |
| 3 | |
| 4 | // CHECK-LABEL: define{{.*}} i128 @add(i128 noundef %a) |
| 5 | // CHECK: #dbg_value(i128 %a, ![[DI:.*]], !DIExpression() |
| 6 | __int128_t add(__int128_t a) { |
| 7 | return a + a; |
| 8 | } |
| 9 | |
| 10 | // CHECK: ![[DI]] = !DILocalVariable(name: "a", arg: 1 |