[libcxx-commits] [PATCH] D119068: [libunwind] [sparc] Define _Unwind_Backtrace

Arfrever Frehtes Taifersar Arahesis via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 5 22:39:26 PST 2022


Arfrever added a comment.

During investigation for D118320 <https://reviews.llvm.org/D118320>, it was found that:

- GCC on PPC32 defines `__powerpc__`, but **not** `__ppc__` (Clang on PPC32 defines both)
- GCC on PPC64 defines both `__powerpc__` and `__powerpc64__` (Clang on PPC64 defines both)

So problem with functions such as `_Unwind_Backtrace` not being available is probably also present in libunwind built by GCC on PPC32.
Then `defined(__ppc__) || defined(__ppc64__) || defined(__powerpc64__)` could be merged into simple `defined(__powerpc__)`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119068/new/

https://reviews.llvm.org/D119068



More information about the libcxx-commits mailing list