[Driver] Default Generic_GCC ppc/ppc64/ppc64le to -fasynchronous-unwind-tables
authorFangrui Song <i@maskray.me>
Mon, 21 Dec 2020 23:32:35 +0000 (15:32 -0800)
committerFangrui Song <i@maskray.me>
Mon, 21 Dec 2020 23:32:35 +0000 (15:32 -0800)
commit6bbb04a732cdf203282f93b95d5a89cfc6fed8f4
tree0bd0f810b009e9c4c61d1536f77b22159b1b05be
parent7f40bb3b044fa673772f4d68351f7bd7c38294d4
[Driver] Default Generic_GCC ppc/ppc64/ppc64le to -fasynchronous-unwind-tables

GCC made the switch on 2018-04-10 ("rs6000: Enable -fasynchronous-unwind-tables by default").
In Clang, FreeBSD/NetBSD powerpc have already defaulted to -fasynchronous-unwind-tables.

This patch defaults Generic_GCC powerpc (which affects Linux) to use -fasynchronous-unwind-tables.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D92054
clang/docs/ReleaseNotes.rst
clang/lib/Driver/ToolChains/Gnu.cpp
clang/test/Driver/ppc-features.cpp