================
@@ -2073,6 +2073,8 @@ static void setConfigs(Ctx &ctx, opt::InputArgList &args)
{
else
ctx.arg.sysvHash = ctx.arg.gnuHash = true;
}
+ if (ctx.arg.emachine == EM_EZH && ctx.arg.discard == DiscardPolicy::Default)
+ ctx.arg.discard = DiscardPolicy::Locals;
----------------
MaskRay wrote:
Should make clang driver pass `--discard-locals` instead of patching the linker
https://github.com/llvm/llvm-project/pull/201498
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits