diff options
| author | Frederic Riss <friss@apple.com> | 2014-09-04 06:14:28 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2014-09-04 06:14:28 +0000 |
| commit | e10ccef9b329fdf4f8c59a5f6e88beb9354c2c49 (patch) | |
| tree | 20d0c310cf2203ca37dcc55ec2ae6f644fd1fbea /llvm/lib/DebugInfo/DWARFCompileUnit.h | |
| parent | eb195f015199c6ed390ca8420ab8bcb45429d213 (diff) | |
| download | bcm5719-llvm-e10ccef9b329fdf4f8c59a5f6e88beb9354c2c49.tar.gz bcm5719-llvm-e10ccef9b329fdf4f8c59a5f6e88beb9354c2c49.zip | |
Add a DWARFContext& member in DWARFUnit.
The DWARFContext will be used to pass global 'context' down, like
pointers to related debug info sections or command line options.
The first use will be for the debug_info dumper to be able to access
other debug info section to dump eg. Location Expression inline
in the debug_info dump.
llvm-svn: 217128
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFCompileUnit.h')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFCompileUnit.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.h b/llvm/lib/DebugInfo/DWARFCompileUnit.h index 4fee0d2f8ad..bf875fbe41f 100644 --- a/llvm/lib/DebugInfo/DWARFCompileUnit.h +++ b/llvm/lib/DebugInfo/DWARFCompileUnit.h @@ -16,10 +16,10 @@ namespace llvm { class DWARFCompileUnit : public DWARFUnit { public: - DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef RS, - StringRef SS, StringRef SOS, StringRef AOS, - const RelocAddrMap *M, bool LE) - : DWARFUnit(DA, IS, RS, SS, SOS, AOS, M, LE) {} + DWARFCompileUnit(DWARFContext& Context, const DWARFDebugAbbrev *DA, + StringRef IS, StringRef RS, StringRef SS, StringRef SOS, + StringRef AOS, const RelocAddrMap *M, bool LE) + : DWARFUnit(Context, DA, IS, RS, SS, SOS, AOS, M, LE) {} void dump(raw_ostream &OS); // VTable anchor. ~DWARFCompileUnit() override; |

