Force the use of -ggnu-pubnames when using -gsplit-dwarf.
gcc/ * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf. From-SVN: r210395
This commit is contained in:
parent
6626c52e1a
commit
bd5c3baaa9
@ -1,3 +1,7 @@
|
||||
2014-05-13 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
|
||||
|
||||
2014-05-13 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* gengtype-parse.c (require3): Eliminate in favor of...
|
||||
|
@ -857,9 +857,9 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set,
|
||||
maybe_set_param_value (PARAM_MAX_STORES_TO_SINK, 0,
|
||||
opts->x_param_values, opts_set->x_param_values);
|
||||
|
||||
/* The -gsplit-dwarf option requires -gpubnames. */
|
||||
/* The -gsplit-dwarf option requires -ggnu-pubnames. */
|
||||
if (opts->x_dwarf_split_debug_info)
|
||||
opts->x_debug_generate_pub_sections = 1;
|
||||
opts->x_debug_generate_pub_sections = 2;
|
||||
}
|
||||
|
||||
#define LEFT_COLUMN 27
|
||||
|
Loading…
x
Reference in New Issue
Block a user