[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:29 PST 2024
================
@@ -1897,6 +1897,10 @@ static void setConfigs(Ctx &ctx, opt::InputArgList &args) {
ErrAlways(ctx) << "cannot open --why-extract= file " << ctx.arg.whyExtract
<< ": " << e.message();
}
+
+ if (ctx.arg.osabi == ELFOSABI_OPENBSD) {
----------------
MaskRay wrote:
delete braces
https://github.com/llvm/llvm-project/pull/120005
More information about the llvm-commits
mailing list