summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFCompileUnit.h
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-10-08 00:24:41 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-10-08 00:24:41 +0000
commit4b4d64bce4a946760966013ba35ee273be17612d (patch)
tree781da6f8082c1c5034dcf77a65ed54aad1556254 /llvm/lib/DebugInfo/DWARFCompileUnit.h
parent7c3f6ac57e7e7e0311708d43f97bd917c34ed537 (diff)
downloadbcm5719-llvm-4b4d64bce4a946760966013ba35ee273be17612d.tar.gz
bcm5719-llvm-4b4d64bce4a946760966013ba35ee273be17612d.zip
[DebugInfo] Pass DWARFSection down to DWARFUnit constructor (NFC).
Keep the actual section contents and the relocation map together. llvm-svn: 219261
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFCompileUnit.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFCompileUnit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.h b/llvm/lib/DebugInfo/DWARFCompileUnit.h
index 47c7191d96e..b3190b18763 100644
--- a/llvm/lib/DebugInfo/DWARFCompileUnit.h
+++ b/llvm/lib/DebugInfo/DWARFCompileUnit.h
@@ -16,11 +16,11 @@ namespace llvm {
class DWARFCompileUnit : public DWARFUnit {
public:
- DWARFCompileUnit(DWARFContext& Context, const DWARFDebugAbbrev *DA,
- StringRef IS, StringRef RS, StringRef SS, StringRef SOS,
- StringRef AOS, const RelocAddrMap *M, bool LE,
+ DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section,
+ const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS,
+ StringRef SOS, StringRef AOS, bool LE,
const DWARFUnitSectionBase &UnitSection)
- : DWARFUnit(Context, DA, IS, RS, SS, SOS, AOS, M, LE, UnitSection) {}
+ : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {}
void dump(raw_ostream &OS);
// VTable anchor.
~DWARFCompileUnit() override;
OpenPOWER on IntegriCloud