[all-commits] [llvm/llvm-project] 3b08b3: [RISCV][test] Fix lifetime bug with Module in test

Alex Bradbury via All-commits all-commits at lists.llvm.org
Mon Dec 18 03:46:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b08b3340d5adbd001cd1b328f6fd6ecf5d92f4a
      https://github.com/llvm/llvm-project/commit/3b08b3340d5adbd001cd1b328f6fd6ecf5d92f4a
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

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

  Log Message:
  -----------
  [RISCV][test] Fix lifetime bug with Module in test

As pointed out by @s-barannikov in post-commit review of #72356, the
module is destroyed at the end of the constructor.




More information about the All-commits mailing list