HomePhabricator

[lldb] Fix import-std-module tests after libc++ got a new __memory subdirectory

Authored by teemperor on Dec 15 2020, 7:13 AM.

Description

[lldb] Fix import-std-module tests after libc++ got a new __memory subdirectory

7ad49aec125b3c1205b164331d0aa954d773f890 added a __memory subdirectory to libc++
but the code we use to find libc++ from the debug info support files wasn't
prepared to encounter unknown subdirectories within libc++. The import-std-module
tests automatically fell back to not importing the std module which caused
them to fail.

This patch removes our hardcoded exception for the 'experimental' subdirectory
and instead just ignores all subdirectories of c++/vX/ when searching the
support files.

Details

Committed
teemperorDec 15 2020, 7:16 AM
Parents
rG7ea3932ab1de: [AnnotationRemarks] Also generate annotation remarks when using -O0.
Branches
Unknown
Tags
Unknown