[all-commits] [llvm/llvm-project] 47b239: [DIBuilder] Do not replace empty enum types

Ellis Hoag via All-commits all-commits at lists.llvm.org
Mon Aug 30 12:34:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47b239eb5a17065d13c317600c46e56ffe2d6c75
      https://github.com/llvm/llvm-project/commit/47b239eb5a17065d13c317600c46e56ffe2d6c75
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M clang/test/CodeGen/debug-info-codeview-heapallocsite.c
    M clang/test/CodeGen/debug-info-macro.c
    M clang/test/CodeGenCXX/debug-info-codeview-var-templates.cpp
    M clang/test/CodeGenCXX/debug-info-cxx1y.cpp
    M clang/test/CodeGenCXX/debug-info-template.cpp
    M clang/test/CodeGenCXX/debug-info-var-template-partial-spec.cpp
    M clang/test/CodeGenCoroutines/coro-dwarf.cpp
    M llvm/lib/IR/DIBuilder.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/constant-mir-debugify.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/phi-mir-debugify.mir
    M llvm/test/DebugInfo/debugify.ll

  Log Message:
  -----------
  [DIBuilder] Do not replace empty enum types

It looks like this array was missed in 4276d4a8d08b7640eb57cabf6988a5cf65b228b6

Fixed tests that expected `elements` to be empty or depeneded on the order of the empty DINode.

Reviewed By: aprantl

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




More information about the All-commits mailing list