[PATCH] D145690: [llvm][TextAPI] Handle implicitly upgraded deployment versions
Cyndy Ishida via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 06:39:14 PST 2023
cishida created this revision.
cishida added reviewers: ributzka, zixuw.
Herald added subscribers: mgrang, hiraditya.
Herald added a project: All.
cishida requested review of this revision.
Herald added a project: LLVM.
Sometimes the clang driver will receive a target triple where the
deployment version is too low to support the platform + arch. In those
cases, the compiler upgrades the final minOS which is what gets recorded
ultimately by the linker in LC_BUILD_VERSION. TextAPI should also reuse
this logic for capturing minOS in recorded TBDv5 files.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145690
Files:
llvm/include/llvm/TextAPI/Platform.h
llvm/include/llvm/TextAPI/Target.h
llvm/lib/TextAPI/Platform.cpp
llvm/lib/TextAPI/TextStubV5.cpp
llvm/unittests/TextAPI/TextStubV5Tests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145690.503755.patch
Type: text/x-patch
Size: 4091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230309/0897aea5/attachment.bin>
More information about the llvm-commits
mailing list