X-Git-Url: https://git.ti.com/gitweb?p=opencl%2Fllvm.git;a=blobdiff_plain;f=lib%2FCodeGen%2FAsmPrinter%2FDwarfUnit.h;h=acb75283530f281b9e909fc33f8402d09d97a65f;hp=7025b712f0e7cf982c8f4e5d6ca19612fdc42f29;hb=502ffc7e2d86f9b553ff0ab77a81a470aa777e67;hpb=95ce098219b204612be7595a94a382d5cab6eea4;ds=sidebyside diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.h b/lib/CodeGen/AsmPrinter/DwarfUnit.h index 7025b712f0..acb7528353 100644 --- a/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -61,8 +61,6 @@ 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. @@ -419,7 +417,7 @@ public: /// constructVariableDIE - Construct a DIE for the given DbgVariable. std::unique_ptr constructVariableDIE(DbgVariable &DV, - AbstractOrInlined AbsIn = AOI_None); + bool Abstract = false); /// constructSubprogramArguments - Construct function argument DIEs. void constructSubprogramArguments(DIE &Buffer, DIArray Args); @@ -457,7 +455,7 @@ private: /// \brief Construct a DIE for the given DbgVariable without initializing the /// DbgVariable's DIE reference. std::unique_ptr constructVariableDIEImpl(const DbgVariable &DV, - AbstractOrInlined AbsIn); + bool Abstract); /// constructTypeDIE - Construct basic type die from DIBasicType. void constructTypeDIE(DIE &Buffer, DIBasicType BTy);