HomePhabricator

Add convenience methods to convert LLDB to LLVM data structures.

Authored by JDevlieghere on Jul 11 2019, 1:26 PM.

Description

Add convenience methods to convert LLDB to LLVM data structures.

This patch adds two convenience methods named GetAsLLVM to the LLDB
counterparts of the DWARF DataExtractor and the DWARF context. The
DWARFContext, once created, is cached for future usage.

Differential revision: https://reviews.llvm.org/D64535

llvm-svn: 365819