From 2460f32a8ab3fec16f1578c0119c3c029d236fa5 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Thu, 15 Sep 2011 05:30:55 +0000 Subject: [PATCH] Despite what the GCC wiki says, a quick search shows that DW_AT_GNU_template_name = 0x2110, not 0x2108. That would explain those attr #0x2110 under the DW_TAG_GNU_template_template_param I'm seeing. Migrate from documented values to reality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139785 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Dwarf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index ea3fbe67ab7..30f91874db2 100644 --- a/include/llvm/Support/Dwarf.h +++ b/include/llvm/Support/Dwarf.h @@ -251,7 +251,7 @@ enum dwarf_constants { DW_AT_body_begin = 0x2105, DW_AT_body_end = 0x2106, DW_AT_GNU_vector = 0x2107, - DW_AT_GNU_template_name = 0x2108, + DW_AT_GNU_template_name = 0x2110, DW_AT_MIPS_assumed_size = 0x2011, DW_AT_lo_user = 0x2000, DW_AT_hi_user = 0x3fff, -- 2.34.1