1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker$f = comdat any 4*9880d681SAndroid Build Coastguard Worker@v = global i32 0, comdat($f) 5*9880d681SAndroid Build Coastguard Workerdefine void @f() comdat($f) { 6*9880d681SAndroid Build Coastguard Worker ret void 7*9880d681SAndroid Build Coastguard Worker} 8*9880d681SAndroid Build Coastguard Worker; CHECK: .section .text.f,"axG",@progbits,f,comdat 9*9880d681SAndroid Build Coastguard Worker; CHECK: .globl f 10*9880d681SAndroid Build Coastguard Worker; CHECK: .section .bss.v,"aGw",@nobits,f,comdat 11*9880d681SAndroid Build Coastguard Worker; CHECK: .globl v 12