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.
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
9 # CHECK: Name: .debug_types
11 .section .debug_types,"G",@progbits,abcd,comdat