Remove what appears to be a dead llvm-specific debug tag.
authorEric Christopher <echristo@gmail.com>
Tue, 8 Jan 2013 00:16:33 +0000 (00:16 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 8 Jan 2013 00:16:33 +0000 (00:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171821 91177308-0d34-0410-b5e6-96231b3b80d8

docs/SourceLevelDebugging.rst
include/llvm/Support/Dwarf.h
lib/IR/DebugInfo.cpp
lib/Support/Dwarf.cpp

index f7dfa4a4fe1540b286b6a6bcaa0f460a21ceddea..933534fb4996df607e8be97bb7d46f73582292d2 100644 (file)
@@ -585,12 +585,10 @@ value of the tag depends on the usage of the variable:
 
   DW_TAG_auto_variable   = 256
   DW_TAG_arg_variable    = 257
-  DW_TAG_return_variable = 258
 
 An auto variable is any variable declared in the body of the function.  An
 argument variable is any variable that appears as a formal argument to the
-function.  A return variable is used to track the result of a function and has
-no source correspondent.
+function.
 
 The context is either the subprogram or block where the variable is defined.
 Name the source variable name.  Context and line indicate where the variable
index 697ef4563473e7c998d0cdeaddac2924807be3dc..22c181e4ce6036a21bb5f1651a5ab6ebb848ce9b 100644 (file)
@@ -37,7 +37,7 @@ enum {
 namespace dwarf {
 
 //===----------------------------------------------------------------------===//
-// Dwarf constants as gleaned from the DWARF Debugging Information Format V.3
+// Dwarf constants as gleaned from the DWARF Debugging Information Format V.4
 // reference manual http://dwarf.freestandards.org .
 //
 
@@ -50,7 +50,7 @@ enum llvm_dwarf_constants {
 
   DW_TAG_auto_variable = 0x100,         // Tag for local (auto) variables.
   DW_TAG_arg_variable = 0x101,          // Tag for argument variables.
-  DW_TAG_return_variable = 0x102,       // Tag for return variables.
+  // 0x102 - Unused.
   DW_TAG_vector_type = 0x103,           // Tag for vector types.
 
   DW_TAG_user_base = 0x1000,            // Recommended base for user tags.
index b5e1d177df62de9495f29c0fc3e74f7d552f3de0..6ca692e2745260ce61f3a1c5303f8fc5217dea7b 100644 (file)
@@ -212,7 +212,6 @@ bool DIDescriptor::isVariable() const {
   switch (getTag()) {
   case dwarf::DW_TAG_auto_variable:
   case dwarf::DW_TAG_arg_variable:
-  case dwarf::DW_TAG_return_variable:
     return true;
   default:
     return false;
index 839dd84a323edd77fa20de0ef50439d2dadac26d..8a96048bb7358d20b7eca4f737d3dccd7d59272f 100644 (file)
@@ -80,7 +80,6 @@ const char *llvm::dwarf::TagString(unsigned Tag) {
   case DW_TAG_hi_user:                   return "DW_TAG_hi_user";
   case DW_TAG_auto_variable:             return "DW_TAG_auto_variable";
   case DW_TAG_arg_variable:              return "DW_TAG_arg_variable";
-  case DW_TAG_return_variable:           return "DW_TAG_return_variable";
   case DW_TAG_vector_type:               return "DW_TAG_vector_type";
   case DW_TAG_rvalue_reference_type:     return "DW_TAG_rvalue_reference_type";
   case DW_TAG_template_alias:            return "DW_TAG_template_alias";