Revert "Fixed a profdata file size detection on Windows system."

This reverts commit bcbb121ff6.

Using 'ls -o' is not compatible way to fix the problem. FreeBSD and OSX
version of 'ls' do not support -o flag and test gets failed on these
platforms.

Differential Revision: https://reviews.llvm.org/D69317
This commit is contained in:
Vladimir Vereschaka 2019-11-10 17:58:29 -08:00
parent aafde063aa
commit 3d3445e3e6
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
; RUN: llvm-profdata merge -sample -extbinary -prof-sym-list=%S/Inputs/profile-symbol-list-1.text %S/Inputs/sample-profile.proftext -o %t.1.output
; RUN: ls -o %t.1.output |tr -s ' ' |cut -f4 -d ' ' > %t.txt
; RUN: ls -l %t.1.output |tr -s ' ' |cut -f5 -d ' ' > %t.txt
; RUN: llvm-profdata show -sample -show-sec-info-only %t.1.output >> %t.txt
; RUN: FileCheck %s --input-file=%t.txt
; Check llvm-profdata shows the correct file size.