[all-commits] [llvm/llvm-project] a5b72a: [DebugInfo] Enhance DIImportedEntity to accept chi...

Alok Kumar Sharma via All-commits all-commits at lists.llvm.org
Wed Sep 15 22:36:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b72abc9eaadbd319f0fbb8ae947d2dd289b30a
      https://github.com/llvm/llvm-project/commit/a5b72abc9eaadbd319f0fbb8ae947d2dd289b30a
  Author: Alok Kumar Sharma <AlokKumar.Sharma at amd.com>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm-c/DebugInfo.h
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DIBuilder.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    A llvm/test/Bitcode/DIImportedEntity_backward.ll
    A llvm/test/Bitcode/DIImportedEntity_backward.ll.bc
    A llvm/test/Bitcode/DIImportedEntity_elements.ll
    A llvm/test/DebugInfo/X86/dwarfdump-DIImportedEntity_elements.ll
    M llvm/tools/llvm-c-test/debuginfo.c
    M llvm/unittests/IR/IRBuilderTest.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [DebugInfo] Enhance DIImportedEntity to accept children entities

New field `elements` is added to '!DIImportedEntity', representing
list of aliased entities.
This is needed to dump optimized debugging information where all names
in a module are imported, but a few names are imported with overriding
aliases.

Reviewed By: dblaikie

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




More information about the All-commits mailing list