clang/test/DebugInfo/Generic/overloadable-debug.c
raw| 1 | // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s |
| 2 | |
| 3 | __attribute__((overloadable)) void f1(a) int a; { |
| 4 | } |
| 5 | void f2(a) int a; { |
| 6 | } |
| 7 | |
| 8 | // CHECK: !DISubprogram(name: "f1", linkageName: "_Z2f1i" |
| 9 | // CHECK: !DISubprogram(name: "f2", scope: {{.*}}, spFlags: DISPFlagDefinition, |