[llvm] r309506 - DebugInfo: Group member variable along with the rest
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 30 01:12:06 PDT 2017
Author: dblaikie
Date: Sun Jul 30 01:12:05 2017
New Revision: 309506
URL: http://llvm.org/viewvc/llvm-project?rev=309506&view=rev
Log:
DebugInfo: Group member variable along with the rest
Committed in r309498 I didn't spot where the rest of the private members
were in DWARFContext at the time - group them up again.
Modified:
llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h
Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h?rev=309506&r1=309505&r2=309506&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h Sun Jul 30 01:12:05 2017
@@ -83,6 +83,7 @@ class DWARFContext : public DIContext {
StringMap<std::weak_ptr<DWOFile>> DWOFiles;
std::weak_ptr<DWOFile> DWP;
bool CheckedForDWP = false;
+ std::string DWPName;
/// Read compile units from the debug_info section (if necessary)
/// and store them in CUs.
@@ -102,13 +103,12 @@ class DWARFContext : public DIContext {
protected:
std::unique_ptr<const DWARFObject> DObj;
- std::string DWPName;
public:
DWARFContext(std::unique_ptr<const DWARFObject> DObj,
std::string DWPName = "")
- : DIContext(CK_DWARF), DObj(std::move(DObj)),
- DWPName(std::move(DWPName)) {}
+ : DIContext(CK_DWARF), DWPName(std::move(DWPName)),
+ DObj(std::move(DObj)) {}
DWARFContext(DWARFContext &) = delete;
DWARFContext &operator=(DWARFContext &) = delete;
More information about the llvm-commits
mailing list