[all-commits] [llvm/llvm-project] 7767c5: [lldb][DWARF] Search for symbols in all external m...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Dec 20 06:48:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7767c5856d85cd1acf2efc32f77fdf07f00f9ff4
      https://github.com/llvm/llvm-project/commit/7767c5856d85cd1acf2efc32f77fdf07f00f9ff4
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

  Log Message:
  -----------
  [lldb][DWARF] Search for symbols in all external modules (#75927)

The way this code was updated in
dd9587795811ba21e6ca6ad52b4531e17e6babd6 meant that if the first module
did not have the symbol, the iteration stopped as returning true means
stop. So only if every module had the symbol would we find it, in the
last module.

Invert the condition to break when we find the first instance, which is
what the previous code did.




More information about the All-commits mailing list