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
Rename some activity/SynchroBlah into activity/BlahImpl (+clang-format)
[simgrid.git]
/
src
/
mc
/
mc_unw.h
diff --git
a/src/mc/mc_unw.h
b/src/mc/mc_unw.h
index
87d3fa9
..
2200b5f
100644
(file)
--- a/
src/mc/mc_unw.h
+++ b/
src/mc/mc_unw.h
@@
-1,5
+1,4
@@
-/* Copyright (c) 2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2015-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. */
@@
-7,7
+6,7
@@
#ifndef SIMGRID_MC_UNW_H
#define SIMGRID_MC_UNW_H
#ifndef SIMGRID_MC_UNW_H
#define SIMGRID_MC_UNW_H
-/**
\
file
+/**
@
file
* Libunwind implementation for the model-checker
*
* Libunwind provides an pluggable stack unwinding API: the way the current
* Libunwind implementation for the model-checker
*
* Libunwind provides an pluggable stack unwinding API: the way the current
@@
-26,13
+25,10
@@
* much here.
*/
* much here.
*/
-#include <sys/types.h>
-
-#include <xbt/base.h>
+#include "src/mc/mc_forward.hpp"
#include <libunwind.h>
#include <libunwind.h>
-
-#include "src/mc/mc_forward.hpp"
+#include <sys/types.h>
namespace simgrid {
namespace unw {
namespace simgrid {
namespace unw {
@@
-48,10
+44,11
@@
namespace mc {
class UnwindContext {
simgrid::mc::AddressSpace* addressSpace_ = nullptr;
class UnwindContext {
simgrid::mc::AddressSpace* addressSpace_ = nullptr;
- simgrid::mc::Process* process_ = nullptr;
- unw_context_t unwindContext_;
+ simgrid::mc::Process* process_ = nullptr;
+ unw_context_t unwindContext_;
+
public:
public:
- UnwindContext()
{}
+ UnwindContext()
= default;
~UnwindContext() { clear(); }
void initialize(simgrid::mc::Process* process, unw_context_t* c);
void clear();
~UnwindContext() { clear(); }
void initialize(simgrid::mc::Process* process, unw_context_t* c);
void clear();