diff options
author | Eric Christopher <echristo@gmail.com> | 2013-01-08 00:16:33 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-01-08 00:16:33 +0000 |
commit | 72a81be37452983f9960a376c19682034ef7db35 (patch) | |
tree | dc8d5ee57f2bd4344cc81f73c5336a8a32a84902 | |
parent | 682106050979f0d48fcf17338c99e91672352789 (diff) | |
download | external_llvm-72a81be37452983f9960a376c19682034ef7db35.zip external_llvm-72a81be37452983f9960a376c19682034ef7db35.tar.gz external_llvm-72a81be37452983f9960a376c19682034ef7db35.tar.bz2 |
Remove what appears to be a dead llvm-specific debug tag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171821 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/SourceLevelDebugging.rst | 4 | ||||
-rw-r--r-- | include/llvm/Support/Dwarf.h | 4 | ||||
-rw-r--r-- | lib/IR/DebugInfo.cpp | 1 | ||||
-rw-r--r-- | lib/Support/Dwarf.cpp | 1 |
4 files changed, 3 insertions, 7 deletions
diff --git a/docs/SourceLevelDebugging.rst b/docs/SourceLevelDebugging.rst index f7dfa4a..933534f 100644 --- a/docs/SourceLevelDebugging.rst +++ b/docs/SourceLevelDebugging.rst @@ -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 diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index 697ef45..22c181e 100644 --- a/include/llvm/Support/Dwarf.h +++ b/include/llvm/Support/Dwarf.h @@ -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. diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index b5e1d17..6ca692e 100644 --- a/lib/IR/DebugInfo.cpp +++ b/lib/IR/DebugInfo.cpp @@ -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; diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index 839dd84..8a96048 100644 --- a/lib/Support/Dwarf.cpp +++ b/lib/Support/Dwarf.cpp @@ -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"; |