[lldb][NFC] Move non-clang specific method to the generic DWARF Parser
authorLuís Ferreira <contact@lsferreira.net>
Thu, 2 Jun 2022 16:01:04 +0000 (16:01 +0000)
committerLuís Ferreira <contact@lsferreira.net>
Thu, 2 Jun 2022 16:39:39 +0000 (16:39 +0000)
commit3da4f9c57b15b3d76b8acbaa8c2b420ad525fa25
tree806b41480fafb10787b2059aebc18f3e3d22afdc
parent2ba5d820e2b0e5016ec706e324060a329f9a83a3
[lldb][NFC] Move non-clang specific method to the generic DWARF Parser

This patch renames DW_ACCESS_to_AccessType function and move it to the abstract
DWARFASTParser, since there is no clang-specific code there. This is useful for
plugins other than Clang.

Reviewed By: shafik, bulbazord

Differential Revision: https://reviews.llvm.org/D114719
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp