[PATCH] D121398: Return an error when dsymutil might produce an invalid mach-o file.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 11:35:37 PST 2022


aprantl added inline comments.


================
Comment at: llvm/tools/dsymutil/MachOUtils.cpp:325
+      if (FileOffset > UINT32_MAX)
+        return error("section " + Sec->getName() + "'s file offset exceeds 4GB and will produce an invalid mach-o file");
     }
----------------
what does error() return?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121398/new/

https://reviews.llvm.org/D121398



More information about the llvm-commits mailing list