We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbad294 commit 02340bbCopy full SHA for 02340bb
llvm/tools/dsymutil/dsymutil.cpp
@@ -689,19 +689,6 @@ int main(int argc, char **argv) {
689
Options.LinkOpts, SDKPath))
690
return EXIT_FAILURE;
691
}
692
-
693
- // The Mach-O object file format is limited to 4GB. Make sure that we print
694
- // an error when we emit an invalid Mach-O companion file. Leave the
695
- // invalid object file around on disk for inspection.
696
- ErrorOr<vfs::Status> stat =
697
- Options.LinkOpts.VFS->status(OutputLocationOrErr->DWARFFile);
698
- if (stat) {
699
- if (stat->getSize() > std::numeric_limits<uint32_t>::max()) {
700
- WithColor::error() << "the linked debug info exceeds the 4GB Mach-O "
701
- "object file format.";
702
- return EXIT_FAILURE;
703
- }
704
705
706
707
return EXIT_SUCCESS;
0 commit comments