Recognize the Swift compiler in DW_AT_producer
authorAdrian Prantl <aprantl@apple.com>
Wed, 6 Oct 2021 22:04:36 +0000 (15:04 -0700)
committerAdrian Prantl <aprantl@apple.com>
Thu, 7 Oct 2021 20:54:28 +0000 (13:54 -0700)
commit4651576edd09bb4b0978db8592e938484e7bbd4f
treefb624efa698fdd5915b8c19a80d695a964466595
parent0332d5d14d21b8e4dc98f42e196660e263f1d5f1
Recognize the Swift compiler in DW_AT_producer

This patch adds support for Swift compiler producer strings to DWARFUnit.

Differential Revision: https://reviews.llvm.org/D111278
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
lldb/unittests/SymbolFile/DWARF/DWARFUnitTest.cpp