mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-06 06:28:15 +01:00
Make DumpSymbols methods take a vector of debug_dirs
r=thestig at https://breakpad.appspot.com/512002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1102 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
834f7ee611
commit
c6f6d9ef30
4 changed files with 60 additions and 44 deletions
|
|
@ -46,8 +46,8 @@
|
|||
|
||||
namespace google_breakpad {
|
||||
bool ReadSymbolDataInternal(const uint8_t* obj_file,
|
||||
const string &obj_filename,
|
||||
const string &debug_dir,
|
||||
const string& obj_filename,
|
||||
const std::vector<string>& debug_dir,
|
||||
bool cfi,
|
||||
Module** module);
|
||||
}
|
||||
|
|
@ -84,10 +84,10 @@ TEST_F(DumpSymbols, Invalid) {
|
|||
memset(&header, 0, sizeof(header));
|
||||
Module* module;
|
||||
EXPECT_FALSE(ReadSymbolDataInternal(reinterpret_cast<uint8_t*>(&header),
|
||||
"foo",
|
||||
"",
|
||||
true,
|
||||
&module));
|
||||
"foo",
|
||||
vector<string>(),
|
||||
true,
|
||||
&module));
|
||||
}
|
||||
|
||||
TEST_F(DumpSymbols, SimplePublic32) {
|
||||
|
|
@ -117,7 +117,7 @@ TEST_F(DumpSymbols, SimplePublic32) {
|
|||
Module* module;
|
||||
EXPECT_TRUE(ReadSymbolDataInternal(elfdata,
|
||||
"foo",
|
||||
"",
|
||||
vector<string>(),
|
||||
true,
|
||||
&module));
|
||||
|
||||
|
|
@ -156,7 +156,7 @@ TEST_F(DumpSymbols, SimplePublic64) {
|
|||
Module* module;
|
||||
EXPECT_TRUE(ReadSymbolDataInternal(elfdata,
|
||||
"foo",
|
||||
"",
|
||||
vector<string>(),
|
||||
true,
|
||||
&module));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue