[all-commits] [llvm/llvm-project] f7261e: [dsymutil] Emit a warning instead of an error when...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Dec 5 21:20:28 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7261e9bbe335a512179624e1419a27e5aa9ce75
https://github.com/llvm/llvm-project/commit/f7261e9bbe335a512179624e1419a27e5aa9ce75
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-12-05 (Thu, 05 Dec 2024)
Changed paths:
M llvm/tools/dsymutil/dsymutil.cpp
Log Message:
-----------
[dsymutil] Emit a warning instead of an error when using fat64 header (#118898)
Universal Mach-O files can't have an archicture slice that starts beyond
the 4GB boundary. However, we support generating universal binaries with
a fat64 header, but older tools may not understand this format.
Currently, unless -fat64 is passed, dsymutil will error out when it
encounters a slice that would exceeds the 4GB limit. Now that more tools
(like LLDB and CoreSymbolication) understand the fat64 header format,
this patch changes the default behavior to use the fat64 header and
emits a warning instead. The warning can be silenced by passing the
-fat64 flag. The goal is to eventually remove the warning altogether.
rdar://140998416
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list