[clang] Add a "don't override" mapping for -fvisibility-from-dllstorageclass (PR #74629)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 13:14:14 PST 2024


================
@@ -79,6 +107,8 @@ extern void __declspec(dllimport) imported_e();
 // EXPLICIT-DAG: declare hidden void @_Z10imported_ev()
 // ALL_DEFAULT-DAG: declare void @_Z1ev()
 // ALL_DEFAULT-DAG: declare void @_Z10imported_ev()
+// ALL_KEEP-DAG: declare hidden void @_Z1ev()
+// ALL_KEEP-DAG: void @_Z10imported_ev()
----------------
bd1976bris wrote:

Yes. Thanks the declare is missing here. I have added it back.

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


More information about the cfe-commits mailing list