Commit Graph

15 Commits

Author SHA1 Message Date
Andrew Noyes 03a45e979d Add unit tests for VectorRef and SmallVectorRef 2020-07-22 19:57:47 +00:00
Andrew Noyes 6caa3e470c Fix valgrind build 2020-07-09 22:05:48 +00:00
Russell Sears 4ce51c4cce
Merge pull request #2768 from atn34/atn34/arena-cpp
Check for memory errors in arena-allocated memory
2020-07-06 09:43:28 -07:00
Andrew Noyes 10e094c6d7 Address review comments 2020-06-11 15:43:31 +00:00
Andrew Noyes e772f3a3f1 Separate knob to control valgrind arena instrumentation 2020-05-07 22:07:33 +00:00
A.J. Beamon 96187618a0 Fix condition to check whether allocation tracing is enabled 2020-03-16 15:12:50 -07:00
A.J. Beamon d8cfabe73b Extend the allocation tracing disabling flag to cover more parts of trace logging as a precaution. Make it possible to disable via knob. 2020-03-16 13:59:31 -07:00
A.J. Beamon 2466749648 Don't disallow allocation tracking when a trace event is open because we now have state trace events. Instead, only block allocation tracking while we are in the middle of allocation tracking already to prevent recursion. 2020-03-12 11:17:49 -07:00
Andrew Noyes facc15d5e4 Only poison second ArenaBlock if it's different 2020-03-04 08:34:29 -08:00
Andrew Noyes 41cf0745a4 Make FastAllocator responsible for marking its internal state addressable 2020-03-03 13:40:54 -08:00
Andrew Noyes 9a87a19fc8 Add reference to valgrind docs 2020-03-03 13:40:25 -08:00
Andrew Noyes 32cd90cf05 Use VALGRIND annotations instead of ASAN
Since we actually run valgrind
2020-03-02 14:14:00 -08:00
Andrew Noyes b9dfb43667 WIP, poisoning memory 2020-03-02 14:14:00 -08:00
Andrew Noyes 87ec36dc4c Poison arena-internal buffers 2020-03-02 14:14:00 -08:00
Andrew Noyes f29d6c3f67 Move implementation of ArenaBlock members to Arena.cpp 2020-02-28 12:33:57 -08:00