aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
diff options
context:
space:
mode:
authorXing GUO <higuoxing@gmail.com>2020-08-25 22:37:40 +0800
committerXing GUO <higuoxing@gmail.com>2020-08-25 22:37:43 +0800
commit1dc57ada0c79a57fbf7c87d5816e680cfd3bc077 (patch)
treecf7bf3630ae5f3f87930f0b697aa35dfb90c6d68 /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
parent39522b1e10428e4fa79a9d2dda20cbea7a1168e0 (diff)
downloadllvm-1dc57ada0c79a57fbf7c87d5816e680cfd3bc077.zip
llvm-1dc57ada0c79a57fbf7c87d5816e680cfd3bc077.tar.gz
llvm-1dc57ada0c79a57fbf7c87d5816e680cfd3bc077.tar.bz2
[DWARFYAML] Make the 'Attributes' field optional.
This patch makes the 'Attributes' field optional. We don't need to explicitly specify the 'Attributes' field in the future. Reviewed By: jhenderson, grimar Differential Revision: https://reviews.llvm.org/D86537
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
index c08a0e1..c38d6114 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
@@ -1367,7 +1367,6 @@ TEST(DWARFDebugInfo, TestEmptyChildren) {
" - Code: 0x00000001\n"
" Tag: DW_TAG_compile_unit\n"
" Children: DW_CHILDREN_yes\n"
- " Attributes:\n"
"debug_info:\n"
" - Version: 4\n"
" AbbrOffset: 0\n"