[all-commits] [llvm/llvm-project] d21b41: [LLDB][NativePDB] ResolveSymbolContext should retu...

Zequan Wu via All-commits all-commits at lists.llvm.org
Fri Sep 16 10:19:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d21b417025f8051638f467007af957f2ed9f614a
      https://github.com/llvm/llvm-project/commit/d21b417025f8051638f467007af957f2ed9f614a
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
    A lldb/test/Shell/SymbolFile/NativePDB/nested-blocks-same-address.s

  Log Message:
  -----------
  [LLDB][NativePDB] ResolveSymbolContext should return the innermost block

Before, it returns the outermost blocks if nested blocks have the same
address range. That casuses lldb unable to find variables that are inside
inner blocks.

Reviewed By: labath

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




More information about the All-commits mailing list