You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
331 B
11 lines
331 B
// 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"
|