[all-commits] [llvm/llvm-project] f99a02: Reapply "[DebugInfo] Make DIArgList inherit from M...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Fri Nov 17 09:56:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f99a02005970cdcb0aad0de80fa4e5b546c6546b
      https://github.com/llvm/llvm-project/commit/f99a02005970cdcb0aad0de80fa4e5b546c6546b
  Author: Stephen Tozer <Stephen.Tozer at Sony.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/Metadata.def
    M llvm/include/llvm/IR/Metadata.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContextImpl.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/IR/TypeFinder.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  Reapply "[DebugInfo] Make DIArgList inherit from Metadata and always unique"

This reverts commit 0fd5dc94380d5fe666dc6c603b4bb782cef743e7.

The original commit removed DIArgLists from being in an MDNode map, but did
not insert a new `delete` in the LLVMContextImpl destructor. This
reapply adds that call to delete, preventing a memory leak.




More information about the All-commits mailing list