diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index cf4bc991b25..5beae1e29c4 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -61,6 +61,8 @@ public: void addRange(RangeSpan Range) { Ranges.push_back(Range); } }; +enum AbstractOrInlined { AOI_None, AOI_Inlined, AOI_Abstract }; + //===----------------------------------------------------------------------===// /// Unit - This dwarf writer support class manages information associated /// with a source file. @@ -413,7 +415,7 @@ public: /// constructVariableDIE - Construct a DIE for the given DbgVariable. std::unique_ptr<DIE> constructVariableDIE(DbgVariable &DV, - bool isScopeAbstract); + AbstractOrInlined AbsIn = AOI_None); /// constructSubprogramArguments - Construct function argument DIEs. DIE *constructSubprogramArguments(DIE &Buffer, DIArray Args); @@ -451,7 +453,7 @@ private: /// \brief Construct a DIE for the given DbgVariable without initializing the /// DbgVariable's DIE reference. std::unique_ptr<DIE> constructVariableDIEImpl(const DbgVariable &DV, - bool isScopeAbstract); + AbstractOrInlined AbsIn); /// constructTypeDIE - Construct basic type die from DIBasicType. void constructTypeDIE(DIE &Buffer, DIBasicType BTy); |