diff options
| author | Adrian Prantl <aprantl@apple.com> | 2019-11-15 09:14:30 -0800 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2019-11-15 09:14:48 -0800 |
| commit | 3bc71193bd4f29ebb5e5baa11581909972265b4f (patch) | |
| tree | 37908d67f2e402e5b02b696f6b7b6ed6edd40d68 | |
| parent | 358eaa3dcea1dee6350c2cbf80aab3c25db4d4d9 (diff) | |
| download | bcm5719-llvm-3bc71193bd4f29ebb5e5baa11581909972265b4f.tar.gz bcm5719-llvm-3bc71193bd4f29ebb5e5baa11581909972265b4f.zip | |
Comment the fact that DWARFDebugInfoEntry isn't copyable.
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h index 25c885608d8..f3952ae9598 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h @@ -23,6 +23,10 @@ class DWARFDeclContext; #define DIE_SIBLING_IDX_BITSIZE 31 +/// DWARFDebugInfoEntry objects assume that they are living in one big +/// vector and do pointer arithmetic on their this pointers. Don't +/// pass them by value. Due to the way they are constructed in a +/// std::vector, we cannot delete the copy constructor. class DWARFDebugInfoEntry { public: typedef std::vector<DWARFDebugInfoEntry> collection; |

