[llvm] [llvm-readobj][COFF] Dump .modmeta section (PR #201695)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 01:04:22 PDT 2026


================
@@ -30,17 +30,25 @@ Expected<uint32_t> COFFCxxModuleMetadataReader::readModuleID() {
   switch (ModuleIndexWidth) {
   case 1: {
     uint8_t V = static_cast<uint8_t>(ModuleData[0]);
-    if (V != std::numeric_limits<uint8_t>::max())
+    // Extend the end sentinel to 32 bit, so it's the same regardless of module
----------------
jh7370 wrote:

"bit" -> "bits" for all these comments, since it should be plural.

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


More information about the llvm-commits mailing list