summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/InterfaceFile.cpp
diff options
context:
space:
mode:
authorCyndy Ishida <cyndy_ishida@apple.com>2023-11-09 09:22:16 -0800
committerGitHub <noreply@github.com>2023-11-09 09:22:16 -0800
commite17efa60b197c07ea21c2cba44670acf0dd75e60 (patch)
treeab5cbf5a79b0a2bad6f642babd477a2e57c08aea /llvm/lib/TextAPI/InterfaceFile.cpp
parentdfecfc7ed07ea4ae902d3be721d75a3ed8ebb076 (diff)
[llvm][TextAPI] Add new `not_for_dyld_shared_cache` attribute to file… (#71735)
… format. Formats >= TBDv4 will now encode new attribute that the system static linker wil read when tbd files replace binary dylibs.
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
-rw-r--r--llvm/lib/TextAPI/InterfaceFile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/TextAPI/InterfaceFile.cpp b/llvm/lib/TextAPI/InterfaceFile.cpp
index f1c6add67b97..3689ab919191 100644
--- a/llvm/lib/TextAPI/InterfaceFile.cpp
+++ b/llvm/lib/TextAPI/InterfaceFile.cpp
@@ -361,6 +361,8 @@ bool InterfaceFile::operator==(const InterfaceFile &O) const {
return false;
if (IsAppExtensionSafe != O.IsAppExtensionSafe)
return false;
+ if (IsOSLibNotForSharedCache != O.IsOSLibNotForSharedCache)
+ return false;
if (HasSimSupport != O.HasSimSupport)
return false;
if (ParentUmbrellas != O.ParentUmbrellas)