Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s
      2 
      3 $foo = comdat any
      4 @bar = global i32 42, comdat($foo)
      5 @foo = global i32 42
      6 
      7 ; CHECK:      .type   bar,@object
      8 ; CHECK-NEXT: .section        .data.bar,"aGw",@progbits,foo,comdat
      9 ; CHECK-NEXT: .globl  bar
     10 ; CHECK:      .type   foo,@object
     11 ; CHECK-NEXT: .data
     12 ; CHECK-NEXT: .globl  foo
     13