Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / xbt / backtrace_dummy.cpp
1 /* backtrace_dummy -- stubs of this module for non-supported archs          */
2
3 /* Copyright (c) 2008-2014. The SimGrid Team.
4  * All rights reserved.                                                     */
5
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. */
8
9 #include "xbt/ex.h"
10 #include "src/xbt_modinter.h"
11 #include "src/xbt/ex_interface.h"
12
13 #include <xbt/backtrace.hpp>
14
15 /* create a backtrace in the given exception */
16 size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count)
17 {
18   return 0;
19 }
20
21 int xbt_backtrace_no_malloc(void **array, int size) {
22   return 0;
23 }
24
25 namespace simgrid {
26 namespace xbt {
27
28 std::vector<std::string> resolveBacktrace(
29   xbt_backtrace_location_t const* loc, std::size_t count)
30 {
31   return std::vector<std::string>();
32 }
33
34 }
35 }