summaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-10-04 22:40:10 +0000
committerEric Christopher <echristo@gmail.com>2013-10-04 22:40:10 +0000
commit371d95851a4e506dd0baba01c759f5dafcb3c128 (patch)
treee05e7ff463643436b581acdf055f847b45fe8f23 /test/DebugInfo
parent9c0c9485808ba4280a62429700693c41fa304598 (diff)
downloadllvm-371d95851a4e506dd0baba01c759f5dafcb3c128.tar.gz
llvm-371d95851a4e506dd0baba01c759f5dafcb3c128.tar.bz2
llvm-371d95851a4e506dd0baba01c759f5dafcb3c128.tar.xz
Use addFlag to add the enum class attribute.
This has the side effect of using DW_FORM_flag_present on dwarf4 and above. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r--test/DebugInfo/X86/enum-class.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/enum-class.ll b/test/DebugInfo/X86/enum-class.ll
index 8b2fbb701e..96aefe228b 100644
--- a/test/DebugInfo/X86/enum-class.ll
+++ b/test/DebugInfo/X86/enum-class.ll
@@ -30,12 +30,12 @@
; CHECK: DW_TAG_enumeration_type [3]
; CHECK: DW_AT_type [DW_FORM_ref4]
-; CHECK: DW_AT_enum_class [DW_FORM_flag] (0x01)
+; CHECK: DW_AT_enum_class [DW_FORM_flag_present] (true)
; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "A")
; CHECK: DW_TAG_enumeration_type [3] *
; CHECK: DW_AT_type [DW_FORM_ref4]
-; CHECK: DW_AT_enum_class [DW_FORM_flag] (0x01)
+; CHECK: DW_AT_enum_class [DW_FORM_flag_present] (true)
; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "B")
; CHECK: DW_TAG_enumeration_type [6]