[all-commits] [llvm/llvm-project] 337f0e: [RISCV] Fix memory leak in RISCVInstrInfoTest.cpp ...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Nov 16 11:48:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 337f0ededc2201bf1c367dfe6c96177772571105
      https://github.com/llvm/llvm-project/commit/337f0ededc2201bf1c367dfe6c96177772571105
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M llvm/unittests/Target/RISCV/RISCVInstrInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Fix memory leak in RISCVInstrInfoTest.cpp unittest

We need to make sure the RISCVTargetMachine is also deleted.




More information about the All-commits mailing list