Home | History | Annotate | Download | only in CodeGen
      1 // REQUIRES: x86-registered-target
      2 // RUN: %clang -target i386-apple-darwin10 -flto -S -g %s -o - | FileCheck %s
      3 int global;
      4 int main() {
      5   static int localstatic;
      6   return 0;
      7 }
      8 
      9 // CHECK: !DIGlobalVariable(name: "localstatic"
     10 // CHECK-NOT:               linkageName:
     11 // CHECK-SAME:              line: 5,
     12 // CHECK-SAME:              variable: i32* @main.localstatic
     13 // CHECK: !DIGlobalVariable(name: "global"
     14 // CHECK-NOT:               linkageName:
     15 // CHECK-SAME:              line: 3,
     16 // CHECK-SAME:              variable: i32* @global
     17