This is an archive of the discontinued LLVM Phabricator instance.

[clang][AARCH64] Add __ARM_FEATURE_{PAC, BTI}_DEFAULT defines
ClosedPublic

Authored by tamas.petz on Mar 31 2020, 4:05 AM.

Details

Summary

As defined by Arm C Language Extensions (ACLE) these macro defines
should be set to specific values depending on -mbranch-protection.

Diff Detail

Event Timeline

tamas.petz created this revision.Mar 31 2020, 4:05 AM
tamas.petz edited reviewers, added: chill; removed: momchil.velikov.Apr 1 2020, 1:27 AM
chill accepted this revision.Apr 1 2020, 2:35 AM

LGTM, conditional on the dependent patch. Thanks!

This revision is now accepted and ready to land.Apr 1 2020, 2:35 AM
This revision was automatically updated to reflect the committed changes.