[llvm] [llvm-objdump] Add possibility to verify .note section format (PR #90458)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 00:41:29 PDT 2024
================
@@ -943,8 +943,12 @@ objcopy::parseObjcopyOptions(ArrayRef<const char *> RawArgsArr,
? DiscardType::All
: DiscardType::Locals;
}
- Config.VerifyNoteSections =
- !InputArgs.hasArg(OBJCOPY_no_verify_note_sections);
+
+ const bool ShouldVerifyNoteSectionsByDefault = true;
----------------
jh7370 wrote:
This seems like an unnecessary constant.
https://github.com/llvm/llvm-project/pull/90458
More information about the llvm-commits
mailing list