-/* Copyright (c) 2014-2015. The SimGrid Team.
+/* Copyright (c) 2014-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 "src/mc/mc_private.h"
#include "src/mc/Type.hpp"
#include "src/mc/mc_dwarf.hpp"
+#include "src/mc/mc_private.hpp"
namespace simgrid {
namespace dwarf {
const void *base, simgrid::mc::Type* type, simgrid::mc::Member* member,
simgrid::mc::AddressSpace* address_space, int process_index)
{
-#if 0
- // TODO, get rid of this?
- if (!member->has_offset_location())
- return ((char *) base) + member->offset();
-#endif
-
ExpressionContext state;
state.frame_base = nullptr;
state.cursor = nullptr;