Issue 191 - Linux dump_syms produces bad line numbers for some functions (16 bit overflow). r=Liu Li
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@190 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
b5c78cc8d1
commit
bd7b42587c
1 changed files with 2 additions and 1 deletions
|
@ -223,7 +223,8 @@ int LoadLineInfo(struct nlist *list,
|
|||
struct LineInfo line;
|
||||
while (cur_list < list_end && cur_list->n_type == N_SLINE) {
|
||||
line.rva_to_func = cur_list->n_value;
|
||||
line.line_num = cur_list->n_desc;
|
||||
// n_desc is a signed short
|
||||
line.line_num = (unsigned short)cur_list->n_desc;
|
||||
func_info->line_info.push_back(line);
|
||||
++cur_list;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue