| 268 | } |
| 269 | |
| 270 | int _omPrintCurrentBackTrace(FILE* fd , OM_FLR_DECL) |
| 271 | { |
| 272 | #ifdef __OPTIMIZE__ |
| 273 | /* does not work without -g */ |
| 274 | return 0; |
| 275 | #else |
| 276 | int i; |
| 277 | void* bt[OM_MAX_BACKTRACE_DEPTH]; |
| 278 | |
| 279 | i = omGetBackTrace(bt, 1, OM_MAX_BACKTRACE_DEPTH); |
| 280 | return _omPrintBackTrace(bt, i, fd , OM_FLR_VAL); |
| 281 | #endif |
| 282 | } |
| 283 | #endif /* ! OM_NDEBUG */ |
no test coverage detected