A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sonar still does not like #undef. Use a local variable to hide _xbt_log_cat_init.
[simgrid.git]
/
src
/
xbt
/
backtrace_dummy.cpp
diff --git
a/src/xbt/backtrace_dummy.cpp
b/src/xbt/backtrace_dummy.cpp
index
81a53d4
..
a9e8246
100644
(file)
--- a/
src/xbt/backtrace_dummy.cpp
+++ b/
src/xbt/backtrace_dummy.cpp
@@
-1,7
+1,6
@@
/* backtrace_dummy -- stubs of this module for non-supported archs */
/* backtrace_dummy -- stubs of this module for non-supported archs */
-/* Copyright (c) 2008-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2008-2017. 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. */
/* 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. */
@@
-9,14
+8,7
@@
#include "xbt/ex.h"
#include "src/xbt_modinter.h"
#include "xbt/ex.h"
#include "src/xbt_modinter.h"
-/* Module creation/destruction */
-void xbt_backtrace_preinit(void)
-{
-}
-
-void xbt_backtrace_postexit(void)
-{
-}
+#include <xbt/backtrace.hpp>
/* create a backtrace in the given exception */
size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count)
/* create a backtrace in the given exception */
size_t xbt_backtrace_current(xbt_backtrace_location_t* loc, size_t count)
@@
-32,10
+24,10
@@
namespace simgrid {
namespace xbt {
std::vector<std::string> resolveBacktrace(
namespace xbt {
std::vector<std::string> resolveBacktrace(
- xbt_backtrace_location_t* loc, std::size_t count)
+ xbt_backtrace_location_t
const
* loc, std::size_t count)
{
return std::vector<std::string>();
}
}
{
return std::vector<std::string>();
}
}
-}
\ No newline at end of file
+}