[PATCH] D25687: [PGO] fix bogus warning for merging empty llvm profile file

David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 10:36:56 PDT 2016

davidxl added inline comments.

Comment at: test/tools/llvm-profdata/merge_empty_profile.test:3
+RUN: llvm-profdata merge -text -o %t_clang.proftext %p/Inputs/empty.proftext %p/Inputs/clang_profile.proftext
+RUN: FileCheck --input-file=%t_clang.proftext %s -check-prefix=CLANG_PROF_TEXT
there is no need to check in an empty file. Just 'touch %t_empty.proftext'  or 'echo -n "" > %t_empty.proftext"


More information about the llvm-commits mailing list