Same as r294784, but for regular LTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294789
91177308-0d34-0410-b5e6-
96231b3b80d8
; with -lto-pass-remarks-with-hotness.
; RUN: llvm-as < %s >%t.bc
+; RUN: rm -f %t.yaml*
; RUN: llvm-lto -lto-pass-remarks-output=%t.yaml \
; RUN: -lto-pass-remarks-with-hotness \
; RUN: -exported-symbol _func2 \
; RUN: llvm-nm %t.o | FileCheck %s -check-prefix NM
; Optimization records are collected regardless of the diagnostic handler
+; RUN: rm -f %t.yaml*
; RUN: llvm-lto -lto-pass-remarks-output=%t.yaml \
; RUN: -exported-symbol _func2 \
; RUN: -exported-symbol _main -o %t.o %t.bc 2>&1 | \