summaryrefslogtreecommitdiff
path: root/Libraries/LibCoreDump/Reader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCoreDump/Reader.cpp')
-rw-r--r--Libraries/LibCoreDump/Reader.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Libraries/LibCoreDump/Reader.cpp b/Libraries/LibCoreDump/Reader.cpp
index b8df7f767a..7aae04fb8f 100644
--- a/Libraries/LibCoreDump/Reader.cpp
+++ b/Libraries/LibCoreDump/Reader.cpp
@@ -24,7 +24,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "Reader.h"
+#include <LibCoreDump/Backtrace.h>
+#include <LibCoreDump/Reader.h>
#include <string.h>
namespace CoreDump {
@@ -120,4 +121,9 @@ const ELF::Core::MemoryRegionInfo* Reader::region_containing(FlatPtr address) co
return ret;
}
+Backtrace Reader::backtrace() const
+{
+ return Backtrace(*this);
+}
+
}