[all-commits] [llvm/llvm-project] 142f51: Support: Add mapped_file_region::sync(), equivalen...

Raghav Medicherla via All-commits all-commits at lists.llvm.org
Tue Sep 6 13:47:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 142f51fc2f448845f6a32e767ffaa2b665eea11f
      https://github.com/llvm/llvm-project/commit/142f51fc2f448845f6a32e767ffaa2b665eea11f
  Author: raghavmedicherla <raghav.medicherla at gmail.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M llvm/include/llvm/Support/FileSystem.h
    M llvm/lib/Support/Unix/Path.inc
    M llvm/lib/Support/Windows/Path.inc
    M llvm/unittests/Support/Path.cpp

  Log Message:
  -----------
  Support: Add mapped_file_region::sync(), equivalent to msync

Add mapped_file_region::sync(), equivalent to POSIX msync,
synchronizing written content to disk without unmapping the region.
Asserts if the mode is not mapped_file_region::readwrite.

Note that I don't have access to a Windows machine, so I can't
easily run those unit tests.

Change by dexonsmith

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


  Commit: 57f01fee1efa86763123a847ec0f2b573a230a78
      https://github.com/llvm/llvm-project/commit/57f01fee1efa86763123a847ec0f2b573a230a78
  Author: raghavmedicherla <raghav.medicherla at gmail.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h

  Log Message:
  -----------
  [AMDGPU/Metadata] Rename HSAMD::MetadataStreamer classes

Renamed all HSAMD::MetadataStreamer classes to improve readability of the code.

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


Compare: https://github.com/llvm/llvm-project/compare/beb413acce87...57f01fee1efa


More information about the All-commits mailing list