2016-05-27 16:24:33 +02:00
|
|
|
Visible function type RTTI for Clang -fsanitize=function
|
|
|
|
|
2015-01-26 15:04:19 +01:00
|
|
|
--- boost/function/function_base.hpp
|
|
|
|
+++ boost/function/function_base.hpp
|
|
|
|
@@ -97,7 +97,7 @@
|
2017-02-01 12:49:48 +01:00
|
|
|
} obj_ref;
|
|
|
|
};
|
|
|
|
|
2015-01-26 15:04:19 +01:00
|
|
|
- union function_buffer
|
|
|
|
+ union BOOST_SYMBOL_VISIBLE function_buffer
|
|
|
|
{
|
2017-02-01 12:49:48 +01:00
|
|
|
// Type-specific union members
|
|
|
|
mutable function_buffer_members members;
|
2015-01-26 15:04:19 +01:00
|
|
|
@@ -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,
|