export cnt_*
Apparently clang sometimes emits relocations in .debug sections referencing these otherwise hidden symbols.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user