[clang] [llvm] [InstallAPI] Report exports discovered in binary but not in interface (PR #86025)

Juergen Ributzka via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 21 09:08:54 PDT 2024


================
@@ -520,5 +515,136 @@ void DylibVerifier::VerifierContext::emitDiag(
   Report();
 }
 
+// The existence of weak-defined RTTI can not always be inferred from the
+// header files because they can be generated as part of an implementation
+// file.
+// InstallAPI doesn't warn about weak-defined RTTI, because this doesn't affect
+// linking and so can be ignored in text files.
----------------
ributzka wrote:

```suggestion
// InstallAPI doesn't warn about weak-defined RTTI, because this doesn't affect
// static linking and so can be ignored for text-api files.
```

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


More information about the cfe-commits mailing list