diff options
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h index 966725b4fa4..2978d1ca002 100644 --- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h +++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h @@ -129,6 +129,9 @@ public: /// \returns the newly created DIE object that is now a child owned by this /// object. dwarfgen::DIE addChild(dwarf::Tag Tag); + + /// Force a DIE to say it has children even when it doesn't. + void setForceChildren(); }; /// A DWARF compile unit used to generate DWARF compile/type units. |