Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the now useless xbt_os_thread_{get,set}_extra_data()
[simgrid.git] / include / xbt / backtrace.hpp
index de3765e..4858e88 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SIMGRIX_XBT_BACKTRACE_HPP
-#define SIMGRIX_XBT_BACKTRACE_HPP
+#ifndef SIMGRID_XBT_BACKTRACE_HPP
+#define SIMGRID_XBT_BACKTRACE_HPP
 
 #include <xbt/base.h>
 
@@ -41,17 +41,12 @@ public:
   Backtrace();
   Backtrace(const Backtrace& bt);
   ~Backtrace();
+  /** @brief Translate the backtrace in a human friendly form, unmangled with source code locations. */
+  std::string const resolve() const;
+  /** @brief Display the resolved backtrace on stderr */
+  void display() const;
 };
 
-/* Translate the backtrace in an human friendly form
- *
- *  Try resolve symbols and source code locations.
- */
-XBT_PUBLIC std::string resolve_backtrace(const Backtrace& bt);
 }
 }
-
-/** @brief Display a previously captured backtrace */
-XBT_PUBLIC void xbt_backtrace_display(const simgrid::xbt::Backtrace& bt);
-
 #endif