[llvm] [llvm-objdump] Add possibility to verify .note section format (PR #90458)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 02:53:47 PDT 2024


================
@@ -176,6 +176,9 @@ def G : JoinedOrSeparate<["-"], "G">,
         Alias<keep_global_symbol>,
         HelpText<"Alias for --keep-global-symbol">;
 
+def no_verify_note_sections : Flag<["--"], "no-verify-note-sections">,
----------------
serge-sans-paille wrote:

Adding a warning proved to be non-trivial as the default would depend on the OutputFormat, an information that tends to be incomplete at the time when we parse the Options. So I moved the flag to ELFConfig.

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


More information about the llvm-commits mailing list