================
@@ -0,0 +1,27 @@
+// RUN: %clang_cc1 %s -triple amdgpu-amd-amdhsa -emit-llvm -std=c++11 \
+// RUN:   -O1 -disable-llvm-passes -fvisibility=hidden -o - | FileCheck %s \
+// RUN:   --implicit-check-not='call {{.*}} @__dynamic_cast'
+
+struct __attribute__((type_visibility("default"))) A {
----------------
philnik777 wrote:

Are the visibility attributes important? This looks like we could just remove 
the `-fvisibility=hidden` from the command line and the annotations here (and 
possibly just add a single `[[gnu::visibility("hidden")]]` to the destructor?).

https://github.com/llvm/llvm-project/pull/213927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to