This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Default Generic_GCC ppc/ppc64/ppc64le to -fasynchronous-unwind-tables
ClosedPublic

Authored by MaskRay on Nov 24 2020, 12:03 PM.

Details

Summary

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.

Diff Detail

Event Timeline

MaskRay created this revision.Nov 24 2020, 12:03 PM
MaskRay requested review of this revision.Nov 24 2020, 12:03 PM

Gentle ping

Gentle ping..

nemanjai accepted this revision.Dec 21 2020, 3:05 PM

LGTM.

clang/test/Driver/ppc-features.cpp
45

Curious - how come no check for PPC64BE?

This revision is now accepted and ready to land.Dec 21 2020, 3:05 PM
MaskRay updated this revision to Diff 313208.Dec 21 2020, 3:31 PM
MaskRay edited the summary of this revision. (Show Details)

Improve BE test

MaskRay marked an inline comment as done.Dec 21 2020, 3:31 PM
This revision was landed with ongoing or failed builds.Dec 21 2020, 3:32 PM
This revision was automatically updated to reflect the committed changes.