Move linker test entry to ld/testsuite/ChangeLog
[deliverable/binutils-gdb.git] / gold / parameters.h
index 09b0516b782576edc745773a6a2c91ac1784da49..10de2ae7fa4f828a00acf872b80e21c610b88c19 100644 (file)
@@ -28,6 +28,7 @@ namespace gold
 
 class General_options;
 class Errors;
+class Timer;
 class Target;
 template<int size, bool big_endian>
 class Sized_target;
@@ -56,6 +57,9 @@ class Parameters
   void
   set_errors(Errors* errors);
 
+  void
+  set_timer(Timer* timer);
+
   void
   set_options(const General_options* options);
 
@@ -70,6 +74,11 @@ class Parameters
   errors() const
   { return this->errors_; }
 
+  // Return the timer object.
+  Timer*
+  timer() const
+  { return this->timer_; }
+
   // Whether the options are valid.  This should not normally be
   // called, but it is needed by gold_exit.
   bool
@@ -177,6 +186,7 @@ class Parameters
   friend class Set_parameters_target_once;
 
   Errors* errors_;
+  Timer* timer_;
   const General_options* options_;
   Target* target_;
   bool doing_static_link_valid_;
@@ -195,6 +205,9 @@ extern const Parameters* parameters;
 extern void
 set_parameters_errors(Errors* errors);
 
+extern void
+set_parameters_timer(Timer* timer);
+
 extern void
 set_parameters_options(const General_options* options);
 
This page took 0.023589 seconds and 4 git commands to generate.