summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFCompileUnit.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-23 06:56:01 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-23 06:56:01 +0000
commiteb0c179b5688177c1ab5f52a8c0338459e97606e (patch)
tree2bf3afdfc3f8c32bec38e6114a1d88451066b8bb /lib/DebugInfo/DWARFCompileUnit.h
parent1f2c399bdb17b30217c8f9d900bde706a160bb35 (diff)
downloadllvm-eb0c179b5688177c1ab5f52a8c0338459e97606e.tar.gz
llvm-eb0c179b5688177c1ab5f52a8c0338459e97606e.tar.bz2
llvm-eb0c179b5688177c1ab5f52a8c0338459e97606e.tar.xz
Make DWARFCompileUnit non-copyable
Summary: This is a part of D1164. DWARFCompileUnit is not that lightweight to copy it around, and we want it to own corresponding .dwo compile unit eventually. Reviewers: echristo Reviewed By: echristo CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1298 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFCompileUnit.h')
-rw-r--r--lib/DebugInfo/DWARFCompileUnit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DebugInfo/DWARFCompileUnit.h b/lib/DebugInfo/DWARFCompileUnit.h
index dc2214b289..97f847962e 100644
--- a/lib/DebugInfo/DWARFCompileUnit.h
+++ b/lib/DebugInfo/DWARFCompileUnit.h
@@ -23,6 +23,9 @@ class StringRef;
class raw_ostream;
class DWARFCompileUnit {
+ DWARFCompileUnit(DWARFCompileUnit const &) LLVM_DELETED_FUNCTION;
+ DWARFCompileUnit &operator=(DWARFCompileUnit const &) LLVM_DELETED_FUNCTION;
+
const DWARFDebugAbbrev *Abbrev;
StringRef InfoSection;
StringRef AbbrevSection;