aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2024-07-18 16:26:32 +0200
committerGitHub <noreply@github.com>2024-07-18 16:26:32 +0200
commit47b63cd508f993d9fab2acfbf0dcf86cdc8c5335 (patch)
treed25bcb661fd7f9e77e9540916720925e21de3aed /clang/lib/CodeGen/CodeGenModule.cpp
parent1cc107234969c33a7036b9694da57f4223e3e4d7 (diff)
downloadllvm-47b63cd508f993d9fab2acfbf0dcf86cdc8c5335.zip
llvm-47b63cd508f993d9fab2acfbf0dcf86cdc8c5335.tar.gz
llvm-47b63cd508f993d9fab2acfbf0dcf86cdc8c5335.tar.bz2
[lld-macho] Save all thin archive members in repro tarball (#97169)
Previously, we only saved those members of thin archives into a repro file that were actually used during linking. However, -ObjC handling requires us to inspect all members, even those that don't end up being loaded. We weren't handling missing members correctly and crashed with an "unhandled `Error`" failure in LLVM_ENABLE_ABI_BREAKING_CHECKS builds. To fix this, we now eagerly load all object files and warn when encountering missing members (in the instances where it wasn't a hard error before). To avoid having to patch out the checks when dealing with older repro files, the `--no-warn-thin-archive-missing-members` flag is added as an escape hatch.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions