X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a5c5765ba9e8336b55101d248a8f43fbf9cd0c0c..f968cbbb699423fa252994ff42de77f8671ac7eb:/src/xbt/backtrace_dummy.cpp diff --git a/src/xbt/backtrace_dummy.cpp b/src/xbt/backtrace_dummy.cpp index 115b7db404..95bf87aaa8 100644 --- a/src/xbt/backtrace_dummy.cpp +++ b/src/xbt/backtrace_dummy.cpp @@ -1,26 +1,15 @@ /* backtrace_dummy -- stubs of this module for non-supported archs */ -/* Copyright (c) 2008-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2008-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ #include "xbt/ex.h" #include "src/xbt_modinter.h" -#include "src/xbt/ex_interface.h" #include -/* Module creation/destruction */ -void xbt_backtrace_preinit(void) -{ -} - -void xbt_backtrace_postexit(void) -{ -} - /* create a backtrace in the given exception */ size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count) { @@ -34,8 +23,12 @@ int xbt_backtrace_no_malloc(void **array, int size) { namespace simgrid { namespace xbt { -std::vector resolveBacktrace( - xbt_backtrace_location_t const* loc, std::size_t count) +std::vector resolveBacktrace(xbt_backtrace_location_t const* loc, std::size_t count) // deprecated +{ + return resolve_backtrace(loc, count); +} + +std::vector resolve_backtrace(xbt_backtrace_location_t const* loc, std::size_t count) { return std::vector(); }