[all-commits] [llvm/llvm-project] 6435fe: [LLDB][NativePDB] Forcefully complete a record typ...

Zequan Wu via All-commits all-commits at lists.llvm.org
Wed Nov 16 11:17:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6435fe699c2978aa8a91dc1cf5daa82fb4b28d95
      https://github.com/llvm/llvm-project/commit/6435fe699c2978aa8a91dc1cf5daa82fb4b28d95
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
    A lldb/test/Shell/SymbolFile/NativePDB/Inputs/incomplete-tag-type.cpp
    A lldb/test/Shell/SymbolFile/NativePDB/incomplete-tag-type.cpp

  Log Message:
  -----------
  [LLDB][NativePDB] Forcefully complete a record type if it has empty debug info and is required to have complete type.

It's required in following situations:
1. As a base class.
2. As a data member.
3. As an array element type.

Reviewed By: labath

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




More information about the All-commits mailing list