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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 20:14:07 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");
----------------
MaskRay wrote:

This comment will be stale and can be updated.

I mean `bool zNoBtCfi = false;` in Config.h

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


More information about the llvm-commits mailing list