forked from OSchip/llvm-project
![]() Adds the function createMCInst() to MCContext that creates a MCInst using a typed bump alloctor. MCInst contains a SmallVector<MCOperand, 8>. The SmallVector is POD only for <= 8 operands. The default untyped bump pointer allocator of MCContext does not delete the MCInst, so if the SmallVector grows, it's a leak. This fixes https://bugs.llvm.org/show_bug.cgi?id=46900. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
HexagonDisassembler.cpp | ||
LLVMBuild.txt |