[all-commits] [llvm/llvm-project] 62d6ff: [dsymutil] Track incompleteness across unions

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Sep 24 14:26:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62d6ff5e9e70dd11a4e9e6efc48ce174cd6849bd
      https://github.com/llvm/llvm-project/commit/62d6ff5e9e70dd11a4e9e6efc48ce174cd6849bd
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    A llvm/test/tools/dsymutil/Inputs/private/tmp/union/a.out
    A llvm/test/tools/dsymutil/Inputs/private/tmp/union/container.o
    A llvm/test/tools/dsymutil/Inputs/private/tmp/union/use.o
    A llvm/test/tools/dsymutil/X86/union-fwd-decl.test

  Log Message:
  -----------
  [dsymutil] Track incompleteness across unions

When determining the incompleteness of a DIE based on its children, make
sure we propagate it across union types. See test case for an example.
Without this patch we never emit the definition of Container_ivars.

Differential revision: https://reviews.llvm.org/D110443




More information about the All-commits mailing list