Sync config with GCC
[binutils-gdb.git] / gold / debug.h
index 63d3d8aa0d470b06815c39ea6881dec1aeea2666..3fecbd8bf054779b75bb7c18b3997316160a8cc4 100644 (file)
@@ -1,6 +1,6 @@
 // debug.h -- gold internal debugging support   -*- C++ -*-
 
-// Copyright (C) 2007-2014 Free Software Foundation, Inc.
+// Copyright (C) 2007-2015 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -38,9 +38,11 @@ const int DEBUG_SCRIPT = 0x2;
 const int DEBUG_FILES = 0x4;
 const int DEBUG_RELAXATION = 0x8;
 const int DEBUG_INCREMENTAL = 0x10;
+const int DEBUG_LOCATION = 0x20;
 
 const int DEBUG_ALL = (DEBUG_TASK | DEBUG_SCRIPT | DEBUG_FILES
-                      | DEBUG_RELAXATION | DEBUG_INCREMENTAL);
+                      | DEBUG_RELAXATION | DEBUG_INCREMENTAL
+                      | DEBUG_LOCATION);
 
 // Convert a debug string to the appropriate enum.
 inline int
@@ -54,6 +56,7 @@ debug_string_to_enum(const char* arg)
     { "files", DEBUG_FILES },
     { "relaxation", DEBUG_RELAXATION },
     { "incremental", DEBUG_INCREMENTAL },
+    { "location", DEBUG_LOCATION },
     { "all", DEBUG_ALL }
   };