[all-commits] [llvm/llvm-project] 212950: [lldb] Refactor TypeQuery::ContextMatches, take 2 ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Aug 5 08:06:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 212950fbcec3b71fa15ee49e0539333a30159c32
      https://github.com/llvm/llvm-project/commit/212950fbcec3b71fa15ee49e0539333a30159c32
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Symbol/Type.h
    M lldb/include/lldb/lldb-private-enumerations.h
    M lldb/source/Symbol/Type.cpp
    M lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c
    M lldb/test/Shell/SymbolFile/DWARF/x86/compilercontext.ll
    M lldb/tools/lldb-test/lldb-test.cpp
    M lldb/unittests/Symbol/TestType.cpp

  Log Message:
  -----------
  [lldb] Refactor TypeQuery::ContextMatches, take 2 (#101333)

This is an alternative, much simpler implementation of #99305. In this
version I replace the AnyModule wildcard match with a special TypeQuery
flag which achieves (mostly) the same thing.

It is a preparatory step for teaching ContextMatches about anonymous
namespaces. It started out as a way to remove the assumption that the
pattern and target contexts must be of the same length -- that's will
not be correct with anonymous namespaces, and probably isn't even
correct right now for AnyModule matches.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list