aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-15 01:12:55 +0000
committerIan Lance Taylor <iant@google.com>2007-11-15 01:12:55 +0000
commita2b1aa12f7d82dfd451e110bff8df16cdf6e2c49 (patch)
treee32b20a9b4065d58ffd0a8e1479f428fadb68ab5 /gold/parameters.cc
parent2a1932dcc777a3aa4552a14aa917caf33f97427b (diff)
downloadgdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.zip
gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.gz
gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.bz2
From Craig Silverstein: Add support for --demangle.
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r--gold/parameters.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc
index b96221a..aceb61e 100644
--- a/gold/parameters.cc
+++ b/gold/parameters.cc
@@ -34,7 +34,7 @@ Parameters::Parameters(Errors* errors)
: errors_(errors), output_file_name_(NULL),
output_file_type_(OUTPUT_INVALID), sysroot_(),
strip_(STRIP_INVALID), allow_shlib_undefined_(false),
- symbolic_(false), detect_odr_violations_(false),
+ symbolic_(false), demangle_(false), detect_odr_violations_(false),
optimization_level_(0), export_dynamic_(false),
is_doing_static_link_valid_(false), doing_static_link_(false),
is_size_and_endian_valid_(false), size_(0), is_big_endian_(false)
@@ -50,6 +50,7 @@ Parameters::set_from_options(const General_options* options)
this->sysroot_ = options->sysroot();
this->allow_shlib_undefined_ = options->allow_shlib_undefined();
this->symbolic_ = options->symbolic();
+ this->demangle_ = options->demangle();
this->detect_odr_violations_ = options->detect_odr_violations();
this->optimization_level_ = options->optimization_level();
this->export_dynamic_ = options->export_dynamic();