blob: 104fd17989a14293b8156ed3bed41aaa0ca5a337 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Visible function type RTTI for Clang -fsanitize=function
--- boost/function/function_base.hpp
+++ boost/function/function_base.hpp
@@ -97,7 +97,7 @@
} obj_ref;
};
- union function_buffer
+ union BOOST_SYMBOL_VISIBLE function_buffer
{
// Type-specific union members
mutable function_buffer_members members;
@@ -159,7 +159,7 @@
};
// The operation type to perform on the given functor/function pointer
- enum functor_manager_operation_type {
+ enum BOOST_SYMBOL_VISIBLE functor_manager_operation_type {
clone_functor_tag,
move_functor_tag,
destroy_functor_tag,
|