[all-commits] [llvm/llvm-project] 6e2058: [Compiler-RT] Remove FlushViewOfFile call when un...

ANdi via All-commits all-commits at lists.llvm.org
Tue Jul 5 06:25:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e2058e58832058f05372c93e8be50695efcc6be
      https://github.com/llvm/llvm-project/commit/6e2058e58832058f05372c93e8be50695efcc6be
  Author: Andi-Bogdan Postelnicu <abpostelnicu at me.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M compiler-rt/lib/profile/GCDAProfiling.c

  Log Message:
  -----------
  [Compiler-RT]  Remove FlushViewOfFile call when unmapping gcda files on win32.

This patch was pushed for calixte at mozilla.com

- this function (Windows only) is called when gcda are dumped on disk;
- according to its documentation, it's only useful in case of hard failures, this is highly improbable;
- it drastically decreases the time in the tests and consequently it avoids timeouts when we use slow disks.

Differential Revision: https://reviews.llvm.org/D129128




More information about the All-commits mailing list