Fixed a profdata file size detection on Windows system.
authorVladimir Vereschaka <vvereschaka@accesssoftek.com>
Wed, 6 Nov 2019 01:09:50 +0000 (17:09 -0800)
committerVladimir Vereschaka <vvereschaka@accesssoftek.com>
Wed, 6 Nov 2019 01:09:50 +0000 (17:09 -0800)
commitbcbb121ff6c8440382abfce8f2911a095f14602b
tree62a39c5eb2a1c5b75e7ecc1f6ad6a16c2f193dd1
parentb36e3a8bac3ee95a5a67ab0acb6ef2a2602226a7
Fixed a profdata file size detection on Windows system.

The space symbols are allowed in the group names on Windows system (as
example: Domain Users). In that case the test extracts a wrong field
from the output to get a size of the profdata file.

This patch avoids a printing of the group names in the test output and
extracts a proper field as a file size.

Differential Revision: https://reviews.llvm.org/D69317
llvm/test/tools/llvm-profdata/show-prof-size.test