From cb9fd5b773b25473770b5ddda53b0a2e9f4c7703 Mon Sep 17 00:00:00 2001 From: mmentovai Date: Fri, 8 Sep 2006 18:03:56 +0000 Subject: Make SourceLineResolver use RangeMap (#13). r=bryner - Eliminate MemAddrMap from source_line_resolver.cc and adapt it to use RangeMap, also used by minidump.cc. - RangeMap operates on both a base address and a size, where MemAddrMap only used a base address, so the dumped symbol file format is modified to include size information. dump_syms produces these files and SourceLineResolver consumes them. - Provide updated test data conforming to the new dumped symbol format. http://groups.google.com/group/airbag-dev/browse_thread/thread/e9403cf3ad6336a1 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@21 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/testdata/module1.out | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/processor/testdata/module1.out') diff --git a/src/processor/testdata/module1.out b/src/processor/testdata/module1.out index 75d55e38..9e8a61a6 100644 --- a/src/processor/testdata/module1.out +++ b/src/processor/testdata/module1.out @@ -1,12 +1,12 @@ FILE 1 file1_1.cc FILE 2 file1_2.cc FILE 3 file1_3.cc -FUNC 1000 Function1_1 -1000 44 1 -1004 45 1 -1008 46 1 -FUNC 1100 Function1_2 -1100 65 2 -1104 66 2 -FUNC 1200 Function1_3 -FUNC 1300 Function1_4 +FUNC 1000 c Function1_1 +1000 4 44 1 +1004 4 45 1 +1008 4 46 1 +FUNC 1100 8 Function1_2 +1100 4 65 2 +1104 4 66 2 +FUNC 1200 100 Function1_3 +FUNC 1300 100 Function1_4 -- cgit v1.2.1