[lld] [ELF] Add support for PT_OPENBSD_NOBTCFI (PR #120005)

Brad Smith via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 15 21:27:42 PST 2024


================
@@ -1487,6 +1487,7 @@ static void readConfigs(Ctx &ctx, opt::InputArgList &args) {
       args, "keep-text-section-prefix", "nokeep-text-section-prefix", false);
   ctx.arg.zLrodataAfterBss =
       getZFlag(args, "lrodata-after-bss", "nolrodata-after-bss", false);
+  ctx.arg.zNoBtCfi = hasZOption(args, "nobtcfi");
----------------
brad0 wrote:

I am not sure what you mean by initialize the variable to false.

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


More information about the llvm-commits mailing list