diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-12-05 21:20:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 21:20:07 -0800 |
commit | f7261e9bbe335a512179624e1419a27e5aa9ce75 (patch) | |
tree | f0eafd97e9e65999fcea1ae1cb0cb4953c064f06 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | c7caab2238399346591271a86ef4cc59fe86a7b4 (diff) | |
download | llvm-f7261e9bbe335a512179624e1419a27e5aa9ce75.zip llvm-f7261e9bbe335a512179624e1419a27e5aa9ce75.tar.gz llvm-f7261e9bbe335a512179624e1419a27e5aa9ce75.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions