mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-27 02:51:23 -04:00
9466b7a1ed
This allows every serializer format to implement metaSerializer() and return the corresponding meta serializer. Original llvm-svn: 366946 Reverted llvm-svn: 367004 This fixes the unit tests on Windows bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367078 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
750 B
LLVM
18 lines
750 B
LLVM
; RUN: llc < %s -mtriple=x86_64-linux -remarks-section -pass-remarks-output=%/t.yaml | FileCheck -DPATH=%/t.yaml %s
|
|
; RUN: llc < %s -mtriple=x86_64-darwin -remarks-section -pass-remarks-output=%/t.yaml | FileCheck --check-prefix=CHECK-DARWIN -DPATH=%/t.yaml %s
|
|
; 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
|
|
|
|
; CHECK-LABEL: func1:
|
|
|
|
; CHECK: .section .remarks,"e",@progbits
|
|
; CHECK-NEXT: .byte
|
|
|
|
; CHECK-DARWIN: .section __LLVM,__remarks,regular,debug
|
|
; CHECK-DARWIN-NEXT: .byte
|
|
|
|
; CHECK-DARWIN-STRTAB: .section __LLVM,__remarks,regular,debug
|
|
; CHECK-DARWIN-STRTAB-NEXT: .byte
|
|
define void @func1() {
|
|
ret void
|
|
}
|