llvm/lib/TableGen
Craig Topper 67886788e2 [TableGen] Prevent DagInit from leaking its Args and ArgNames when they exceed the size of the SmallVector.
DagInits are allocated in a BumpPtrAllocator so they are never destructed. This means the destructor for the SmallVector never runs.

To fix this we now allocate the vectors in the BumpPtrAllocator too using TrailingObjects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304077 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-27 17:36:50 +00:00
..
CMakeLists.txt
Error.cpp
LLVMBuild.txt
Main.cpp [TableGen] Centralize/Unify error handling. 2016-12-05 22:58:01 +00:00
Record.cpp [TableGen] Prevent DagInit from leaking its Args and ArgNames when they exceed the size of the SmallVector. 2017-05-27 17:36:50 +00:00
SetTheory.cpp
StringMatcher.cpp [Hexagon, TableGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-04 02:02:05 +00:00
TableGenBackend.cpp
TGLexer.cpp TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
TGLexer.h TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
TGParser.cpp Use print() instead of dump() in code 2017-01-28 02:47:46 +00:00
TGParser.h TableGen: Some more std::string->StringInit* replacements 2016-12-05 07:35:13 +00:00