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
This commit is contained in:
mmentovai 2006-09-08 18:03:56 +00:00
parent 6dd21d3baf
commit cb9fd5b773
13 changed files with 8197 additions and 7572 deletions

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -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

View file

@ -1,12 +1,12 @@
FILE 1 file2_1.cc
FILE 2 file2_2.cc
FILE 3 file2_3.cc
FUNC 2000 Function2_1
1000 54 1
1004 55 1
1008 56 1
FUNC 2170 Function2_2
2170 10 2
2176 12 2
217a 13 2
2180 21 2
FUNC 2000 c Function2_1
1000 4 54 1
1004 4 55 1
1008 4 56 1
FUNC 2170 14 Function2_2
2170 6 10 2
2176 4 12 2
217a 6 13 2
2180 4 21 2