================ @@ -806,7 +806,9 @@ def UniqueObjectDuplication : DiagGroup<"unique-object-duplication"> { Warns when objects which are supposed to be globally unique might get duplicated when built into a shared library. -If an object with hidden visibility is built into a shared library, each instance +This can occur to objects which are hidden from the dynamic linker, due to +having hidden visibility (on posix) or lacking an import/export annotation (on ---------------- DKLoehr wrote:
Done. https://github.com/llvm/llvm-project/pull/143537 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits