Review comments
- Changed the separator from '+' to ','. - Moved the branch protection options from -C to -Z. - Additional test for incorrect branch-protection option. - Remove LLVM < 12 code. - Style fixes. Co-authored-by: James McGregor <james.mcgregor2@arm.com>
This commit is contained in:
parent
837cc1687f
commit
984ca4689d
12 changed files with 57 additions and 120 deletions
|
@ -45,10 +45,6 @@ fn declare_raw_fn(
|
|||
llvm::Attribute::NoRedZone.apply_llfn(Function, llfn);
|
||||
}
|
||||
|
||||
if cx.tcx.sess.target.arch == "aarch64" {
|
||||
attributes::set_branch_protection(cx.tcx.sess, llfn);
|
||||
}
|
||||
|
||||
attributes::default_optimisation_attrs(cx.tcx.sess, llfn);
|
||||
attributes::non_lazy_bind(cx.sess(), llfn);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue