aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-27 21:32:31 +0000
committerjimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-27 21:32:31 +0000
commit1147cc4920a56730ec2497789ff71cee0bc99ec3 (patch)
treef900c55c4ffe75e06f7d6ff299e22b6b0233c87a /src
parentThe 'no_next_addr_count' variable in ComputeSizeAndRVA shouldn't be static. (diff)
downloadbreakpad-1147cc4920a56730ec2497789ff71cee0bc99ec3.tar.xz
The has_sol field of struct FuncInfo is unused. This patch removes it.
A=jimblandy R=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@364 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/common/linux/dump_symbols.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc
index a5533f17..55680d5f 100644
--- a/src/common/linux/dump_symbols.cc
+++ b/src/common/linux/dump_symbols.cc
@@ -95,8 +95,6 @@ struct FuncInfo {
uint32_t size;
// Total size of stack parameters.
uint32_t stack_param_size;
- // Is there any lines included from other files?
- bool has_sol;
// Line information array.
LineInfoList line_info;
};
@@ -218,7 +216,6 @@ static int LoadLineInfo(struct nlist *list,
const struct SourceFileInfo &source_file_info,
struct FuncInfo *func_info) {
struct nlist *cur_list = list;
- func_info->has_sol = false;
// Records which source file the following lines belongs. Default
// to the file we are handling. This helps us handling inlined source.
// When encountering N_SOL, we will change this to the source file
@@ -233,8 +230,6 @@ static int LoadLineInfo(struct nlist *list,
// N_SOL means source lines following it will be from
// another source file.
if (cur_list->n_type == N_SOL) {
- func_info->has_sol = true;
-
if (cur_list->n_un.n_strx > 0 &&
cur_list->n_un.n_strx != current_source_name_index) {
// The following lines will be from this source file.
@@ -289,7 +284,6 @@ static int LoadFuncSymbols(struct nlist *list,
func_info.rva_to_base = 0;
func_info.size = 0;
func_info.stack_param_size = 0;
- func_info.has_sol = 0;
// Stack parameter size.
cur_list += LoadStackParamSize(cur_list, list_end, &func_info);