From 6de969a3040fa31ba60302c66613d1d2e6f5a730 Mon Sep 17 00:00:00 2001 From: "ivan.penkov@gmail.com" Date: Thu, 28 Jun 2012 22:46:01 +0000 Subject: This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@974 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/dwarf_line_to_module.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/common/dwarf_line_to_module.h') diff --git a/src/common/dwarf_line_to_module.h b/src/common/dwarf_line_to_module.h index 49b3eb35..9382e40d 100644 --- a/src/common/dwarf_line_to_module.h +++ b/src/common/dwarf_line_to_module.h @@ -38,8 +38,11 @@ #ifndef COMMON_LINUX_DWARF_LINE_TO_MODULE_H #define COMMON_LINUX_DWARF_LINE_TO_MODULE_H +#include + #include "common/module.h" #include "common/dwarf/dwarf2reader.h" +#include "common/using_std_string.h" namespace google_breakpad { @@ -127,8 +130,8 @@ class DwarfLineToModule: public dwarf2reader::LineInfoHandler { ~DwarfLineToModule() { } - void DefineDir(const std::string &name, uint32 dir_num); - void DefineFile(const std::string &name, int32 file_num, + void DefineDir(const string &name, uint32 dir_num); + void DefineFile(const string &name, int32 file_num, uint32 dir_num, uint64 mod_time, uint64 length); void AddLine(uint64 address, uint64 length, @@ -136,7 +139,7 @@ class DwarfLineToModule: public dwarf2reader::LineInfoHandler { private: - typedef std::map DirectoryTable; + typedef std::map DirectoryTable; typedef std::map FileTable; // The module we're contributing debugging info to. Owned by our -- cgit v1.2.1