From Craig Silverstein: Add support for --demangle.
[deliverable/binutils-gdb.git] / gold / options.h
index b5d2328a1a63171de604fa7ad6ebf4c505bf0a75..1a67a7e27a5f6591b9ecccd9c72851bb209d1ee0 100644 (file)
@@ -159,6 +159,11 @@ class General_options
   symbolic() const
   { return this->symbolic_; }
 
+  // --demangle: demangle C++ symbols in our log messages.
+  bool
+  demangle() const
+  { return this->demangle_; }
+
   // --detect-odr-violations: Whether to search for One Defn Rule violations.
   bool
   detect_odr_violations() const
@@ -318,6 +323,14 @@ class General_options
   set_symbolic()
   { this->symbolic_ = true; }
 
+  void
+  set_demangle()
+  { this->demangle_ = true; }
+
+  void
+  clear_demangle()
+  { this->demangle_ = false; }
+
   void
   set_detect_odr_violations()
   { this->detect_odr_violations_ = true; }
@@ -436,6 +449,7 @@ class General_options
   Strip strip_;
   bool allow_shlib_undefined_;
   bool symbolic_;
+  bool demangle_;
   bool detect_odr_violations_;
   bool create_eh_frame_hdr_;
   Dir_list rpath_;
This page took 0.024054 seconds and 4 git commands to generate.