[all-commits] [llvm/llvm-project] 90c5ab: [DwarfCompileUnit] getOrCreateGlobalVariableDIE():...

chbessonova via All-commits all-commits at lists.llvm.org
Sun Nov 14 01:00:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90c5ab54a9dd750c3c9725115c1205b4eba9eeb9
      https://github.com/llvm/llvm-project/commit/90c5ab54a9dd750c3c9725115c1205b4eba9eeb9
  Author: Kristina Bessonova <kbessonova at accesssoftek.com>
  Date:   2021-11-14 (Sun, 14 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp

  Log Message:
  -----------
  [DwarfCompileUnit] getOrCreateGlobalVariableDIE(): remove outdated comment. NFC


  Commit: 5b4bfd8c2415cb38983a56007bb424e063778460
      https://github.com/llvm/llvm-project/commit/5b4bfd8c2415cb38983a56007bb424e063778460
  Author: Kristina Bessonova <kbessonova at accesssoftek.com>
  Date:   2021-11-14 (Sun, 14 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp

  Log Message:
  -----------
  [DwarfCompileUnit] getOrCreateCommonBlock(): check for existing entity first. NFCI

For global variables and common blocks there is no way to create entities
through getOrCreateContextDIE(), so no need to obtain the context first.

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


Compare: https://github.com/llvm/llvm-project/compare/7e980c46ed6a...5b4bfd8c2415


More information about the All-commits mailing list