[all-commits] [llvm/llvm-project] f8c2b0: [libc++][Android] Include cstdlib to define __BION...

Ryan Prichard via All-commits all-commits at lists.llvm.org
Fri Dec 9 15:16:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8c2b0d249afc58db87c6678e0db4c0a53774d2d
      https://github.com/llvm/llvm-project/commit/f8c2b0d249afc58db87c6678e0db4c0a53774d2d
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M libcxxabi/test/forced_unwind4.pass.cpp

  Log Message:
  -----------
  [libc++][Android] Include cstdlib to define __BIONIC__

__ANDROID__ is a built-in compiler macro, but __BIONIC__ is defined by
the libc header.

Reviewed By: #libc_abi, compnerd

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


  Commit: 8f29d4ed73864d4ab57aff88f68f296c439b3c61
      https://github.com/llvm/llvm-project/commit/8f29d4ed73864d4ab57aff88f68f296c439b3c61
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M libcxx/test/libcxx/modules_include.sh.cpp

  Log Message:
  -----------
  [libc++][Android] Android/Bionic headers don't work with modules yet

The current Android headers don't appear to work with modules. We may
want to fix them eventually.

Reviewed By: #libc, Mordante

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


  Commit: 5df7b45ae4b501b2f95bb4a2f0b22f1721a1e61d
      https://github.com/llvm/llvm-project/commit/5df7b45ae4b501b2f95bb4a2f0b22f1721a1e61d
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp

  Log Message:
  -----------
  [libc++][Android] Disable pbump2gig for Android

Android devices frequently don't have enough memory to run this test.

e.g. On the API 33 x86-64 emulator with 2GiB RAM, the test triggers the
OOM Killer, the device reboots, and then `adb shell` exits with status
0 and no output.

Reviewed By: danalbert, #libc, Mordante

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


  Commit: 106a99276f9e7b9eec9542cc2b4dcd8489eb1a6b
      https://github.com/llvm/llvm-project/commit/106a99276f9e7b9eec9542cc2b4dcd8489eb1a6b
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M clang/lib/Headers/unwind.h

  Log Message:
  -----------
  [Headers][ARM] Allow `struct _Unwind_Exception` in unwind.h

Use the same approach as used in libunwind/include/unwind_arm_ehabi.h
(D89570) and GCC's unwind-arm-common.h, so that _Unwind_Exception can be
used both with and without the struct tag.

Fixes a build failure in libcxxabi/test/forced_unwind1.pass.cpp.

Reviewed By: danielkiss

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


Compare: https://github.com/llvm/llvm-project/compare/34a3259fab86...106a99276f9e


More information about the All-commits mailing list