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

Cyndy Ishida via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 21 09:31:01 PDT 2024


================
@@ -21,6 +21,9 @@ CHECK-NEXT: CPP.h:5:7: error: declaration has external linkage, but symbol has i
 CHECK-NEXT: CPP.h:6:7: error: dynamic library symbol '(weak-def) Bar::init()' is weak defined, but its declaration is not
 CHECK-NEXT:   int init();
 CHECK-NEXT:       ^
+CHECK-NEXT: warning: violations found for arm64
+CHECK-NEXT: error: no declaration found for exported symbol 'int foo<unsigned int>(unsigned int)' in dyn
----------------
cyndyishida wrote:

It was a mistake between the chair and the keyboard.

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


More information about the cfe-commits mailing list