Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / lineno-dbginfo.c
blob82f54d0fc0bc890a39dd2a0dc6303c436297d8a1
1 // RUN: echo "#include <stddef.h>" > %t.h
2 // RUN: %clang_cc1 -debug-info-kind=limited -include %t.h %s -emit-llvm -o - | FileCheck %s
4 // CHECK: !DIGlobalVariable(name: "outer",
5 // CHECK-NOT: linkageName:
6 // CHECK-SAME: line: [[@LINE+2]]
7 // CHECK-SAME: isDefinition: true
8 int outer = 42;