1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/TableGen
Craig Topper dcc2bac1f3 [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.

llvm-svn: 304077
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
TGLexer.h
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