1 ; RUN: llc < %s -mtriple=x86_64-linux -remarks-section -pass-remarks-output=%/t.yaml | FileCheck -DPATH=%/t.yaml %s
2 ; RUN: llc < %s -mtriple=x86_64-darwin -remarks-section -pass-remarks-output=%/t.yaml | FileCheck --check-prefix=CHECK-DARWIN -DPATH=%/t.yaml %s
3 ; RUN: llc < %s -mtriple=x86_64-darwin --pass-remarks-format=yaml-strtab -remarks-section -pass-remarks-output=%/t.yaml | FileCheck --check-prefix=CHECK-DARWIN-STRTAB -DPATH=%/t.yaml %s
7 ; CHECK: .section .remarks,"e",@progbits
10 ; CHECK-DARWIN: .section __LLVM,__remarks,regular,debug
11 ; CHECK-DARWIN-NEXT: .byte
13 ; CHECK-DARWIN-STRTAB: .section __LLVM,__remarks,regular,debug
14 ; CHECK-DARWIN-STRTAB-NEXT: .byte
15 define void @func1() {