[lld] [AArch64][GCS][LLD] Introduce -zgcs-report-dynamic Command Line Option (PR #127787)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 9 19:17:55 PDT 2025


================
@@ -574,6 +576,38 @@ static GcsPolicy getZGcs(Ctx &ctx, opt::InputArgList &args) {
   return ret;
 }
 
+static GcsReportPolicy
+getZGcsReport(Ctx &ctx, opt::InputArgList &args, bool isReportDynamic,
----------------
MaskRay wrote:

I think the code will be cleaner if we compute the two values together in this function.

https://github.com/llvm/llvm-project/pull/127787


More information about the llvm-commits mailing list