diff options
author | Eric Christopher <echristo@gmail.com> | 2013-10-04 22:40:10 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-10-04 22:40:10 +0000 |
commit | 6b8209b6b7e8dee6c2d38c927f8ae06476854ac0 (patch) | |
tree | 556f1bf9d387309fb920b5283dedaadcca73d224 /llvm/test/DebugInfo/X86/enum-class.ll | |
parent | dccd32866bb00e7d7114f70a26e3493d1266d14c (diff) | |
download | bcm5719-llvm-6b8209b6b7e8dee6c2d38c927f8ae06476854ac0.tar.gz bcm5719-llvm-6b8209b6b7e8dee6c2d38c927f8ae06476854ac0.zip |
Use addFlag to add the enum class attribute.
This has the side effect of using DW_FORM_flag_present on dwarf4 and above.
llvm-svn: 191991
Diffstat (limited to 'llvm/test/DebugInfo/X86/enum-class.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/enum-class.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/X86/enum-class.ll b/llvm/test/DebugInfo/X86/enum-class.ll index 8b2fbb701eb..96aefe228be 100644 --- a/llvm/test/DebugInfo/X86/enum-class.ll +++ b/llvm/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] |