blob: 1c6d86f4cc093f9bf2aebbd366f1354947b3d273 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// RUN: %clang_cc1 -x c -debug-info-kind=limited -triple bpf-linux-gnu -emit-llvm %s -o - | FileCheck %s
extern char ch;
extern char ch;
int test() {
return ch;
}
// CHECK: distinct !DIGlobalVariable(name: "ch",{{.*}} type: ![[T:[0-9]+]], isLocal: false, isDefinition: false
// CHECK-NOT: distinct !DIGlobalVariable(name: "ch"
|