[DWARF] Have HashedNameToDIE store a DataExtractor by value
authorPavel Labath <labath@google.com>
Thu, 17 May 2018 11:36:08 +0000 (11:36 +0000)
committerPavel Labath <labath@google.com>
Thu, 17 May 2018 11:36:08 +0000 (11:36 +0000)
commitae128b2dc320ce2bf36065eee8157b8b52b36152
tree339da17328bc7e59108b78ccc6a8a81bb4dd4798
parentb4fd145fc3b420a5d3e8439dcebd4006ba35faee
[DWARF] Have HashedNameToDIE store a DataExtractor by value

Summary:
The DataExtractors are cheap to copy so there is no reason to store them
by reference. Also, in my upcoming indexing refactor I am planning to
remove the apple tables data extractor members from the SymbolFileDWARF
class, so there will not be a DataExtractor with a suitable lifetime to
refer to.

Reviewers: clayborg, JDevlieghere

Subscribers: aprantl, lldb-commits

Differential Revision: https://reviews.llvm.org/D46888

llvm-svn: 332596
lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h