Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename the plugins from the command line, and document it
[simgrid.git] / src / xbt / backtrace_dummy.cpp
1 /* backtrace_dummy -- stubs of this module for non-supported archs          */
2
3 /* Copyright (c) 2008-2018. The SimGrid Team. All rights reserved.          */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #include "xbt/ex.h"
9 #include "src/xbt_modinter.h"
10
11 #include <xbt/backtrace.hpp>
12
13 /* create a backtrace in the given exception */
14 size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count)
15 {
16   return 0;
17 }
18
19 int xbt_backtrace_no_malloc(void **array, int size) {
20   return 0;
21 }
22
23 namespace simgrid {
24 namespace xbt {
25
26 std::vector<std::string> resolveBacktrace(
27   xbt_backtrace_location_t const* loc, std::size_t count)
28 {
29   return std::vector<std::string>();
30 }
31
32 }
33 }