diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-27 19:34:32 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-27 19:34:32 +0000 |
commit | b85f0080e7c8188a998fb08b05944572f7b39b9e (patch) | |
tree | eb8e666e9f9e5419daa5cea1761ecc392ec0988f /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 1575cb49cd87b8abf87ae5a866c2a3f49abf9158 (diff) | |
download | bcm5719-llvm-b85f0080e7c8188a998fb08b05944572f7b39b9e.tar.gz bcm5719-llvm-b85f0080e7c8188a998fb08b05944572f7b39b9e.zip |
DebugInfo: Simplify solution to avoid DW_AT_artificial on inlined parameters.
Originally committed in r207717, I clearly didn't look very closely at
the code to understand how existing things were working...
llvm-svn: 209680
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 7025b712f0e..acb75283530 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/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<DIE> 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<DIE> constructVariableDIEImpl(const DbgVariable &DV, - AbstractOrInlined AbsIn); + bool Abstract); /// constructTypeDIE - Construct basic type die from DIBasicType. void constructTypeDIE(DIE &Buffer, DIBasicType BTy); |