export cnt_*

Apparently clang sometimes emits relocations
in .debug sections referencing these otherwise
hidden symbols.
This commit is contained in:
Michael Davidsaver
2020-08-08 16:38:45 -07:00
parent 280919b3ec
commit 3fe3a65c18
+1 -1
View File
@@ -253,7 +253,7 @@ struct InstCounter
#define INST_COUNTER(KLASS) InstCounter<&cnt_ ## KLASS> instances
#define CASE(KLASS) extern std::atomic<size_t> cnt_ ## KLASS
#define CASE(KLASS) PVXS_API extern std::atomic<size_t> cnt_ ## KLASS
CASE(StructTop);