[clang] [clang] Add fbasic-block-sections support for AArch64 (PR #80916)
Mingming Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 6 20:48:44 PST 2024
================
@@ -5972,6 +5972,15 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
<< A->getAsString(Args) << A->getValue();
else
A->render(Args, CmdArgs);
+ } else if (Triple.isAArch64()) {
+ // "all" is not supported on AArch64 since branch relaxation creates new
----------------
minglotus-6 wrote:
I think `Triple.isOSBinFormatELF()` is needed (just like for x86).
https://github.com/llvm/llvm-project/pull/80916
More information about the cfe-commits
mailing list