This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Disable uwtable by default in -ffreestanding mode
ClosedPublic

Authored by vsk on Sep 12 2017, 3:41 PM.

Details

Summary

We make the same decision when compiling the kernel or kexts -- we
should do this in -ffreestanding mode as well to avoid size regressions
in a potentially large set of firmware projects.

It's still possible to get uwtable information in -ffreestanding mode by
compiling with -funwind-tables (I expect this to be a rare case: I
certainly haven't seen any projects like that).

Context: -munwind-tables was enabled by default for some arm targets in
r310006.

Testing: check-clang

rdar://problem/33934446

Diff Detail

Repository
rL LLVM

Event Timeline

vsk created this revision.Sep 12 2017, 3:41 PM
This revision is now accepted and ready to land.Sep 12 2017, 3:51 PM
This revision was automatically updated to reflect the committed changes.