| 1 | namespace DB |
|---|---|
| 2 | { |
| 3 | |
| 4 | class FunctionFactory; |
| 5 | |
| 6 | #if defined(OS_LINUX) |
| 7 | void registerFunctionAddressToSymbol(FunctionFactory & factory); |
| 8 | void registerFunctionAddressToLine(FunctionFactory & factory); |
| 9 | #endif |
| 10 | |
| 11 | void registerFunctionDemangle(FunctionFactory & factory); |
| 12 | void registerFunctionTrap(FunctionFactory & factory); |
| 13 | |
| 14 | |
| 15 | void registerFunctionsIntrospection(FunctionFactory & factory) |
| 16 | { |
| 17 | #if defined(OS_LINUX) |
| 18 | registerFunctionAddressToSymbol(factory); |
| 19 | registerFunctionAddressToLine(factory); |
| 20 | #endif |
| 21 | registerFunctionDemangle(factory); |
| 22 | registerFunctionTrap(factory); |
| 23 | } |
| 24 | |
| 25 | } |
| 26 |