1# REQUIRES: x86 2## Check that group members are retained, if no member has the SHF_ALLOC flag. 3## This rule retains .debug_types and .rela.debug_types emitted by clang/gcc. 4 5# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 6# RUN: ld.lld --gc-sections %t.o -o %t 7# RUN: llvm-readobj -S %t | FileCheck %s 8 9# CHECK: Name: .debug_types 10 11.section .debug_types,"G",@progbits,abcd,comdat 12.quad .debug_types 13