mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-06 22:48:30 +01:00
Fix the Android unit tests.
- One of the unit test binaries refused to link due to missing linker flags. - The WriteDSODebug() function now works on Android, so do not special-case it anymore. - Ensure android/run-checks.sh will complain properly if the client unit test suite fails on Android. It used to consider that such failures were acceptable. Note that it still considers failures when running the tools and processor test suite on the device normal (fixing this is a lot harder, and these parts of Breakpad typically never run on a device, but on the host). Review URL: https://breakpad.appspot.com/482002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1066 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
1500c41966
commit
b52be69e59
4 changed files with 31 additions and 24 deletions
|
|
@ -983,9 +983,6 @@ class MinidumpWriter {
|
|||
}
|
||||
|
||||
bool WriteDSODebugStream(MDRawDirectory* dirent) {
|
||||
#if defined(__ANDROID__)
|
||||
return false;
|
||||
#else
|
||||
ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr) *>(dumper_->auxv()[AT_PHDR]);
|
||||
char* base;
|
||||
int phnum = dumper_->auxv()[AT_PHNUM];
|
||||
|
|
@ -1106,7 +1103,6 @@ class MinidumpWriter {
|
|||
delete[] dso_debug_data;
|
||||
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue