[lldb] Relax libc++ ABI version checking
authorThomas Anderson <thomasanderson@google.com>
Fri, 1 Feb 2019 19:10:39 +0000 (19:10 +0000)
committerThomas Anderson <thomasanderson@google.com>
Fri, 1 Feb 2019 19:10:39 +0000 (19:10 +0000)
commit7ba2d3e872f9253e43160926cd1ccc334d649722
tree9386a04606ed64c079b65d8b63b1afcdaf4ba61b
parent5503e4f9b94ed59089971f573328f1866e1bc6e1
[lldb] Relax libc++ ABI version checking

libc++ has programmable ABI versioning controllable with the _LIBCPP_ABI_VERSION
macro.  Currently there are at least 3 settings used in real systems (1 as the
default, ndk1 for Anroid, Cr for Chromium).

Only the 1 and ndk1 cases were handled.  This change relaxes the check to allow
any ABI version.

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

llvm-svn: 352899
lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp