aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf_cu_to_module_unittest.cc
diff options
context:
space:
mode:
authorjessicag.feedback@gmail.com <jessicag.feedback@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-17 19:08:31 +0000
committerjessicag.feedback@gmail.com <jessicag.feedback@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-17 19:08:31 +0000
commitbf407c0c77367b91d4982b4c994e06427223d685 (patch)
tree8d833a2fdea9e1a7fffca4b12722343a5046ea4a /src/common/dwarf_cu_to_module_unittest.cc
parent Use frame pointer to walk ARM stack on iOS. (diff)
downloadbreakpad-bf407c0c77367b91d4982b4c994e06427223d685.tar.xz
Add includes for unittests that appear to need them.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@870 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/dwarf_cu_to_module_unittest.cc')
-rw-r--r--src/common/dwarf_cu_to_module_unittest.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/common/dwarf_cu_to_module_unittest.cc b/src/common/dwarf_cu_to_module_unittest.cc
index cea1a487..e88e381c 100644
--- a/src/common/dwarf_cu_to_module_unittest.cc
+++ b/src/common/dwarf_cu_to_module_unittest.cc
@@ -31,11 +31,15 @@
// dwarf_cu_to_module.cc: Unit tests for google_breakpad::DwarfCUToModule.
+#include <string>
+#include <utility>
#include <vector>
#include "breakpad_googletest_includes.h"
#include "common/dwarf_cu_to_module.h"
+using std::make_pair;
+using std::string;
using std::vector;
using dwarf2reader::AttributeList;
@@ -144,8 +148,8 @@ class CUFixtureBase {
// The handler will consult this section map to decide what to
// pass to our line reader.
- file_context_.section_map[".debug_line"] = std::make_pair(dummy_line_program_,
- dummy_line_size_);
+ file_context_.section_map[".debug_line"] = make_pair(dummy_line_program_,
+ dummy_line_size_);
}
// Add a line with the given address, size, filename, and line
@@ -158,7 +162,7 @@ class CUFixtureBase {
// Use LANGUAGE for the compilation unit. More precisely, arrange
// for StartCU to pass the compilation unit's root DIE a
// DW_AT_language attribute whose value is LANGUAGE.
- void SetLanguage(dwarf2reader::DwarfLanguage language) {
+ void SetLanguage(dwarf2reader::DwarfLanguage language) {
language_ = language;
}