[llvm] 83fd2c9 - [dsymutil] Remove spurious exit when falling back to fat64 header (#171189)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 11:58:04 PST 2025


Author: Jonas Devlieghere
Date: 2025-12-08T19:57:59Z
New Revision: 83fd2c994a82119edf249ac3c169250c26f0b21c

URL: https://github.com/llvm/llvm-project/commit/83fd2c994a82119edf249ac3c169250c26f0b21c
DIFF: https://github.com/llvm/llvm-project/commit/83fd2c994a82119edf249ac3c169250c26f0b21c.diff

LOG: [dsymutil] Remove spurious exit when falling back to fat64 header (#171189)

In #118898 I changed dsymutil to emit a warning instead of an error when
exceeding the 4GB limit for a slice and automatically fall back to using
the fat64 header. However, while doing so, I forgot to remove the return
which defeats the whole purpose.

rdar://140998416

Added: 
    

Modified: 
    llvm/tools/dsymutil/dsymutil.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/dsymutil/dsymutil.cpp b/llvm/tools/dsymutil/dsymutil.cpp
index 688f6aaf3d0c9..a71c57c60593c 100644
--- a/llvm/tools/dsymutil/dsymutil.cpp
+++ b/llvm/tools/dsymutil/dsymutil.cpp
@@ -873,7 +873,6 @@ int dsymutil_main(int argc, char **argv, const llvm::ToolContext &) {
                 "-fat64 flag to force a 64-bit header and silence this "
                 "warning.",
                 FileOffset);
-            return EXIT_FAILURE;
           }
           FileOffset += stat->getSize();
         }


        


More information about the llvm-commits mailing list