diff --git a/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test b/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test --- a/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test +++ b/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test @@ -3,4 +3,4 @@ ; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -prof-sym-list=%S/Inputs/profile-symbol-list-2.text %S/Inputs/sample-profile.proftext -o %t.2.output ; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections %t.1.output %t.2.output -o %t.3.output ; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output -; RUN: diff %S/Inputs/profile-symbol-list.expected %t.4.output +; RUN: diff -b %S/Inputs/profile-symbol-list.expected %t.4.output diff --git a/llvm/test/tools/llvm-profdata/roundtrip-compress.test b/llvm/test/tools/llvm-profdata/roundtrip-compress.test --- a/llvm/test/tools/llvm-profdata/roundtrip-compress.test +++ b/llvm/test/tools/llvm-profdata/roundtrip-compress.test @@ -7,4 +7,4 @@ RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.3.profdata %t.2.profdata RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.3.profdata -RUN: diff %t.2.proftext %S/Inputs/sample-profile.proftext +RUN: diff -b %t.2.proftext %S/Inputs/sample-profile.proftext