[all-commits] [llvm/llvm-project] 5fe33f: [DebugInfo] Make DWARF ignore sizes on forward dec...

Amy Huang via All-commits all-commits at lists.llvm.org
Thu Sep 3 11:02:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fe33f7399d86d5a36a8437db0661b1509200815
      https://github.com/llvm/llvm-project/commit/5fe33f7399d86d5a36a8437db0661b1509200815
  Author: Amy Huang <akhuang at google.com>
  Date:   2020-09-03 (Thu, 03 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    A llvm/test/DebugInfo/X86/struct-fwd-decl.ll

  Log Message:
  -----------
  [DebugInfo] Make DWARF ignore sizes on forward declared class types.

Make sure the sizes for forward declared classes aren't emitted in
DWARF.

This comes before https://reviews.llvm.org/D87062, which adds sizes to
all classes with definitions.

Bug: https://bugs.llvm.org/show_bug.cgi?id=47338

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




More information about the All-commits mailing list