diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-02-25 22:27:14 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-02-25 22:27:14 +0000 |
commit | 69140d2c0f089bea7e7ee1b317fa881e4b818d79 (patch) | |
tree | 92e596bfc8ebfbf037453f83c5b5493278f3b169 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 248ac139752aa61eab97ce6b80bb4160da4bd5fa (diff) | |
download | bcm5719-llvm-69140d2c0f089bea7e7ee1b317fa881e4b818d79.tar.gz bcm5719-llvm-69140d2c0f089bea7e7ee1b317fa881e4b818d79.zip |
Address review comments for r202188.
This is refactoring / simplifying code, updating comments and enabling the
testcase on non-x86 platforms.
No functionality change.
llvm-svn: 202199
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index bf77272b8a2..8dd25a0a1da 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -452,6 +452,9 @@ public: /// constructVariableDIE - Construct a DIE for the given DbgVariable. DIE *constructVariableDIE(DbgVariable &DV, bool isScopeAbstract); + /// constructSubprogramArguments - Construct function argument DIEs. + void constructSubprogramArguments(DIE &Buffer, DIArray Args); + /// Create a DIE with the given Tag, add the DIE to its parent, and /// call insertDIE if MD is not null. DIE *createAndAddDIE(unsigned Tag, DIE &Parent, @@ -476,9 +479,6 @@ protected: DIE *getOrCreateStaticMemberDIE(DIDerivedType DT); private: - /// constructSubprogramArguments - Construct function argument DIEs. - void constructSubprogramArguments(DIE &Buffer, DIArray Args); - /// constructTypeDIE - Construct basic type die from DIBasicType. void constructTypeDIE(DIE &Buffer, DIBasicType BTy); |