2019-07-29 22:26:44 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
2019-12-29 01:13:17 +00:00
|
|
|
|
|
|
|
class FunctionFactory;
|
|
|
|
|
|
|
|
#if defined(OS_LINUX)
|
|
|
|
void registerFunctionAddressToSymbol(FunctionFactory & factory);
|
|
|
|
void registerFunctionAddressToLine(FunctionFactory & factory);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void registerFunctionDemangle(FunctionFactory & factory);
|
|
|
|
void registerFunctionTrap(FunctionFactory & factory);
|
|
|
|
|
|
|
|
|
2019-07-29 22:26:44 +00:00
|
|
|
void registerFunctionsIntrospection(FunctionFactory & factory)
|
|
|
|
{
|
2019-09-23 13:07:19 +00:00
|
|
|
#if defined(OS_LINUX)
|
2019-07-29 23:49:00 +00:00
|
|
|
registerFunctionAddressToSymbol(factory);
|
2019-07-29 23:37:50 +00:00
|
|
|
registerFunctionAddressToLine(factory);
|
2019-09-20 16:50:13 +00:00
|
|
|
#endif
|
2019-09-21 22:04:17 +00:00
|
|
|
registerFunctionDemangle(factory);
|
2019-08-31 21:39:17 +00:00
|
|
|
registerFunctionTrap(factory);
|
2019-07-29 22:26:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|