[PATCH] D84896: [MC] Fix memory leak when allocating MCInst with bump allocator

Hendrik Greving via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 10:24:27 PDT 2020


hgreving updated this revision to Diff 281972.
hgreving marked 2 inline comments as done.
hgreving retitled this revision from "[MC] Add createMCInst() using a typed MCInst bump allocator." to "[MC] Fix memory leak when allocating MCInst with bump allocator".
hgreving edited the summary of this revision.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84896/new/

https://reviews.llvm.org/D84896

Files:
  llvm/include/llvm/MC/MCContext.h
  llvm/lib/MC/MCContext.cpp
  llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
  llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84896.281972.patch
Type: text/x-patch
Size: 7986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200730/c4422851/attachment.bin>


More information about the llvm-commits mailing list