You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
9e83fb0838
llvm-svn: 312148
12 lines
347 B
C
12 lines
347 B
C
// RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
|
|
|
|
// CHECK: @f.xyzzy = internal global i32 0, align 4, !dbg [[XYZZY:![0-9]+]]
|
|
|
|
// CHECK: [[XYZZY]] = !DIGlobalVariableExpression(var: [[VAR:.*]], expr: !DIExpression())
|
|
// CHECK: [[VAR]] = distinct !DIGlobalVariable
|
|
void f(void)
|
|
{
|
|
static int xyzzy;
|
|
xyzzy += 3;
|
|
}
|