[all-commits] [llvm/llvm-project] 2b09de: [lldb] Fix import-std-module tests after libc++ go...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Dec 15 07:21:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b09dedac4c824c51bc0a8934b33c0f50ce0e126
      https://github.com/llvm/llvm-project/commit/2b09dedac4c824c51bc0a8934b33c0f50ce0e126
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list