Sync up the tag numbers with gcc4.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey 2006-02-13 16:56:43 +00:00
parent d96185aa62
commit f198eb9c62

View File

@ -58,17 +58,10 @@ enum {
DIInvalid = ~0U, // Invalid result indicator.
// DebugInfoDesc type identifying tags.
// FIXME - Change over with gcc4.
DI_TAG_anchor = 0,
#if 1
DI_TAG_compile_unit = DW_TAG_compile_unit,
DI_TAG_global_variable = DW_TAG_variable,
DI_TAG_subprogram = DW_TAG_subprogram
#else
DI_TAG_compile_unit,
DI_TAG_global_variable,
DI_TAG_subprogram
#endif
};
//===----------------------------------------------------------------------===//
@ -78,8 +71,7 @@ class DIVisitor {
public:
DIVisitor() {}
virtual ~DIVisitor() {}
/// ApplyToFields - Target the visitor to each field of the debug information
/// descriptor.
void ApplyToFields(DebugInfoDesc *DD);