[all-commits] [llvm/llvm-project] 6bd3d8: [libcxx] [test] Fix fs.op.last_write_time for Windows

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed May 12 12:23:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bd3d8a17cef9108a338ada9b3dbed201bf9c158
      https://github.com/llvm/llvm-project/commit/6bd3d8a17cef9108a338ada9b3dbed201bf9c158
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
    M libcxx/test/support/filesystem_test_helper.h

  Log Message:
  -----------
  [libcxx] [test] Fix fs.op.last_write_time for Windows

Don't use stat and lstat on Windows; lstat is missing, stat only provides
the modification times with second granularity (and does the wrong thing
regarding symlinks). Instead do a minimal reimplementation using the
native windows APIs.

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


  Commit: 7e0768329ca347e37c7bdb0da16b51cb3e7b7d8b
      https://github.com/llvm/llvm-project/commit/7e0768329ca347e37c7bdb0da16b51cb3e7b7d8b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M lld/COFF/Driver.cpp
    A lld/test/COFF/gc-dwarf-eh.s

  Log Message:
  -----------
  [LLD] [COFF] Fix including the personality function for DWARF EH when linking with --gc-sections

Since c579a5b1d92a9bc2046d00ee2d427832e0f5ddec we don't traverse
.eh_frame when doing GC. But the exception handling personality
function needs to be included, and is only referenced from within
.eh_frame.

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


Compare: https://github.com/llvm/llvm-project/compare/77997f28d595...7e0768329ca3


More information about the All-commits mailing list