blob: c63a0d66ca48e92233c121a5e4f7bfc6281284d5 [file] [edit]
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=CHECK-ELF
; RUN: llc < %s -mtriple=x86_64-win32-gnu | FileCheck %s --check-prefix=CHECK-COFF
@a = private constant [1 x i8] c"\00", section ".test", align 8, !metadata_section_kind !{}
@b = private constant [1 x i8] c"\00", section ".test2", align 8
;; section: name, flags, type
; CHECK-ELF: .section .test,"",@progbits
; CHECK-COFF: .section .test,"yD"
;; Check no metadata results in different output to prevent rotten
;; green test.
; CHECK-ELF: .section .test2,"a",@progbits
; CHECK-COFF: .section .test2,"dr"