diff options
author | Chris Bieneman <beanz@apple.com> | 2017-03-06 19:25:07 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-03-06 19:25:07 +0000 |
commit | a175512b18478848bdbe203f2d25dc417860e3c5 (patch) | |
tree | 0c564745fc34f8fa885e1c98418071c0966e876d /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | |
parent | b1d026f0fe09af37efb7a245a0183eb9714292ca (diff) | |
download | bcm5719-llvm-a175512b18478848bdbe203f2d25dc417860e3c5.tar.gz bcm5719-llvm-a175512b18478848bdbe203f2d25dc417860e3c5.zip |
[DWARF] NFC. A few bits of minor code cleanup.
David Blaikie pointed out that the `setForceChildren` API is no longer needed and should be removed from the DWARF Generator APIs.
Also the DWARFDebugInfoTest file had some copy pasted comments that are not relevant. I've removed them.
llvm-svn: 297056
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp index b6111e71c1a..c13b610338f 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp @@ -1283,9 +1283,6 @@ TEST(DWARFDebugInfo, TestFindRecurse) { StringRef AbsDieName("abs"); // Scope to allow us to re-use the same DIE names { - // Create a compile unit DIE that has an abbreviation that says it has - // children, but doesn't have any actual attributes. This helps us test - // a DIE that has only one child: a NULL DIE. auto CUDie = CU.getUnitDIE(); auto FuncSpecDie = CUDie.addChild(DW_TAG_subprogram); auto FuncDie = CUDie.addChild(DW_TAG_subprogram); @@ -1495,9 +1492,6 @@ TEST(DWARFDebugInfo, TestFindAttrs) { StringRef DieMangled("_Z3fooi"); // Scope to allow us to re-use the same DIE names { - // Create a compile unit DIE that has an abbreviation that says it has - // children, but doesn't have any actual attributes. This helps us test - // a DIE that has only one child: a NULL DIE. auto CUDie = CU.getUnitDIE(); auto FuncSpecDie = CUDie.addChild(DW_TAG_subprogram); auto FuncDie = CUDie.addChild(DW_TAG_subprogram); |