1 /* backtrace_dummy -- stubs of this module for non-supported archs */
3 /* Copyright (c) 2008-2014. The SimGrid Team.
4 * All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "src/xbt_modinter.h"
11 #include "src/xbt/ex_interface.h"
13 #include <xbt/backtrace.hpp>
15 /* Module creation/destruction */
16 void xbt_backtrace_preinit(void)
20 void xbt_backtrace_postexit(void)
24 /* create a backtrace in the given exception */
25 size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count)
30 int xbt_backtrace_no_malloc(void **array, int size) {
37 std::vector<std::string> resolveBacktrace(
38 xbt_backtrace_location_t const* loc, std::size_t count)
40 return std::vector<std::string>();