[all-commits] [llvm/llvm-project] 9c30ba: [libcxxabi] Build all of libcxxabi with _LIBCPP_BU...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Nov 2 23:33:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c30bafd59bf1078bbe1c235c7c25bf7e278e2e9
      https://github.com/llvm/llvm-project/commit/9c30bafd59bf1078bbe1c235c7c25bf7e278e2e9
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libcxxabi/CMakeLists.txt
    M libcxxabi/src/fallback_malloc.cpp
    M libcxxabi/src/stdlib_exception.cpp
    M libcxxabi/src/stdlib_new_delete.cpp

  Log Message:
  -----------
  [libcxxabi] Build all of libcxxabi with _LIBCPP_BUILDING_LIBRARY defined

Various definitions from libcxx need to be set in the same way
as if building libcxx itself.

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


  Commit: 321f696920630be1b3c93e2a8b965c624ddd646c
      https://github.com/llvm/llvm-project/commit/321f696920630be1b3c93e2a8b965c624ddd646c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/absolute.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix the fs.op.absolute test to cope with windows paths

Prepend the root path on the already_absolute testcase, and construct
a path ending with the preferred separator for the test reference for
"foo/".

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


  Commit: 22e5ee0eef818bb0005f296aac57a6ddf6421e16
      https://github.com/llvm/llvm-project/commit/22e5ee0eef818bb0005f296aac57a6ddf6421e16
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Avoid an unused variable in non-libcpp cases in path.append

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


  Commit: 11987248c8aef5ba0dfeb5595df93616ac3d3c63
      https://github.com/llvm/llvm-project/commit/11987248c8aef5ba0dfeb5595df93616ac3d3c63
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libcxx/test/support/filesystem_test_helper.h

  Log Message:
  -----------
  [libcxx] [test] Create symlink_to_dir as the right kind, as a directory symlink

This was missed in 5c39eebc126d.

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


  Commit: 08b4cc5e0d2625e85ed4af9aad17ccc0876e3bd3
      https://github.com/llvm/llvm-project/commit/08b4cc5e0d2625e85ed4af9aad17ccc0876e3bd3
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libcxx/src/filesystem/operations.cpp

  Log Message:
  -----------
  [libcxx] Avoid double frees of file descriptors in the fallback ifstream/ofstream codepath

So far, most actual uses of libc++ std::filesystem probably use
the sendfile or fcopyfile implementations.

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


  Commit: 529ba612b0774a86f581b68655ad3422075092c6
      https://github.com/llvm/llvm-project/commit/529ba612b0774a86f581b68655ad3422075092c6
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp
    M libcxx/test/support/filesystem_test_helper.h

  Log Message:
  -----------
  [libcxx] [test] Use error_code::default_error_condition to check errors against the expected codes

error_code returned from functions might not be of the generic category,
but of the system category, which can have different error code values.
Use default_error_condition() to remap errors to the generic category
where possible, to allow comparing them to the expected values.

Use the ErrorIs() helper instead of a direct comparison against
an excpected value.

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


Compare: https://github.com/llvm/llvm-project/compare/7a5184ed951a...529ba612b077


More information about the All-commits mailing list