Skip to content

Commit 4f3da9e

Browse files
committed
Add a comment regarding GCS + PAuthABI
1 parent f498b76 commit 4f3da9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,8 @@ static void CollectARMPACBTIOptions(const ToolChain &TC, const ArgList &Args,
15971597
}
15981598
if (IndirectBranches)
15991599
CmdArgs.push_back("-mbranch-target-enforce");
1600+
// GCS is currently untested with PAuthABI, but enabling this could be allowed
1601+
// in future after testing with a suitable system.
16001602
if (GuardedControlStack) {
16011603
if (Triple.getEnvironment() == llvm::Triple::PAuthTest)
16021604
D.Diag(diag::err_drv_unsupported_opt_for_target)

0 commit comments

Comments
 (0)