[clang] [llvm] [InstallAPI] Add support for aliased exports (PR #88750)

Cyndy Ishida via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 10:04:30 PDT 2024


================
@@ -973,5 +978,24 @@ bool DylibVerifier::verifyBinaryAttrs(const ArrayRef<Target> ProvidedTargets,
   return true;
 }
 
+std::unique_ptr<SymbolSet> DylibVerifier::getExports() {
+  for (const auto &[Alias, Base] : Aliases) {
----------------
cyndyishida wrote:

`getExports()` only gets called once for the whole lifetime of InstallAPI as it releases ownership over the exports to forward along to write out the final TBD file. 

https://github.com/llvm/llvm-project/pull/88750


More information about the llvm-commits mailing list