[llvm] [llvm-objdump] Error with relevant message when adding invalid notes (PR #90458)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 00:38:07 PDT 2024


================
@@ -0,0 +1,34 @@
+## Verify that --add-section warns on invalid note sections.
+
+# Add [namesz, descsz, type, name, desc] for a build id.
+#
----------------
jh7370 wrote:

I suggest providing a comment before each block of echose explaining the significance of each case (i.e. what's invalid about it).

Also, make sure to use `##` for the comment.

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


More information about the llvm-commits mailing list