[PATCH] D47145: [X86][ELF][CET] Adding the .note.gnu.property ELF section in X86

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 25 10:37:32 PDT 2018


craig.topper added inline comments.


================
Comment at: llvm/tools/llvm-readobj/ELFDumper.cpp:3504
+    } else
+      OS << format("<corrupt length: 0x%x>", DataSize);
+    OS << "\n";
----------------
This format string is wrong for a uint64_t. If you set a bad bit in the upper 32-bits this justs prints <unknown flags: 0x0>


https://reviews.llvm.org/D47145





More information about the llvm-commits mailing list