mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-11 09:26:27 +00:00
Breakpad Mac symbol dumper: Add new Mach-O reader class.
This patch adds files defining new classes in the google_breakpad::Mach_O namespace for parsing fat binaries and Mach-O files. These are used in the new dumper to handle STABS debugging information, DWARF call frame information, and .eh_frame exception handling stack walking information. These new classes are independent of endianness and word size, and therefore can be used on binaries of all the relevant architectures: x86, x86_64, ppc, and ARM. The patch adds a complete set of unit tests for the new classes. A=jimb R=mark (http://breakpad.appspot.com/93001/show, http://breakpad.appspot.com/115001/show) git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@610 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -63,10 +63,10 @@ extern "C" {
|
||||
#include "google_breakpad/common/breakpad_types.h"
|
||||
|
||||
using google_breakpad::CFISection;
|
||||
using google_breakpad::TestAssembler::Label;
|
||||
using google_breakpad::TestAssembler::kBigEndian;
|
||||
using google_breakpad::TestAssembler::kLittleEndian;
|
||||
using google_breakpad::TestAssembler::Section;
|
||||
using google_breakpad::test_assembler::Label;
|
||||
using google_breakpad::test_assembler::kBigEndian;
|
||||
using google_breakpad::test_assembler::kLittleEndian;
|
||||
using google_breakpad::test_assembler::Section;
|
||||
|
||||
using dwarf2reader::DwarfPointerEncoding;
|
||||
using dwarf2reader::ENDIANNESS_BIG;
|
||||
@@ -2315,7 +2315,7 @@ TEST_F(CFIReporter, ClearingCFARule) {
|
||||
#ifdef WRITE_ELF
|
||||
// See comments at the top of the file mentioning WRITE_ELF for details.
|
||||
|
||||
using google_breakpad::TestAssembler::Section;
|
||||
using google_breakpad::test_assembler::Section;
|
||||
|
||||
struct ELFSectionHeader {
|
||||
ELFSectionHeader(unsigned int set_type)
|
||||
|
||||
Reference in New Issue
Block a user