ClickHouse/dbms/Functions/registerFunctionsIntrospection.cpp

26 lines
575 B
C++
Raw Normal View History

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)
{
#if defined(OS_LINUX)
registerFunctionAddressToSymbol(factory);
registerFunctionAddressToLine(factory);
#endif
registerFunctionDemangle(factory);
2019-08-31 21:39:17 +00:00
registerFunctionTrap(factory);
2019-07-29 22:26:44 +00:00
}
}