[all-commits] [llvm/llvm-project] 960126: [LLDB][NativePDB] Check string table in PDB files.

Zequan Wu via All-commits all-commits at lists.llvm.org
Mon Mar 6 07:25:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 960126e04a6faad1b71e110a4262c5733e50fab7
      https://github.com/llvm/llvm-project/commit/960126e04a6faad1b71e110a4262c5733e50fab7
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp

  Log Message:
  -----------
  [LLDB][NativePDB] Check string table in PDB files.

Usually PDB files have a string table (aka: Named Stream "/names" ). PDB for
some windows system libraries might not have that. This adds the check for it to
avoid crash in the absence of string table.

Reviewed By: labath

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




More information about the All-commits mailing list