[llvm] [MC][CodeGen] Add --large-eh-encoding flag for x86_64 & Aarch64 ELF (PR #174508)
Farid Zakaria via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 09:45:10 PDT 2026
================
@@ -151,6 +151,8 @@ void TargetLoweringObjectFileELF::Initialize(MCContext &Ctx,
: dwarf::DW_EH_PE_absptr;
break;
case Triple::x86_64:
+ if (TgtM.Options.MCOptions.LargeEHEncoding)
+ CM = CodeModel::Large;
----------------
fzakaria wrote:
Please see https://github.com/llvm/llvm-project/pull/210109
https://github.com/llvm/llvm-project/pull/174508
More information about the llvm-commits
mailing list