Re: [PATCH 2/2] RFE: poisoning of invalid memory blocks and obstacks

2016-01-15 Thread Jeff Law
On 01/15/2016 01:04 PM, David Malcolm wrote: It was difficult to track down the memory corruption bug fixed by the previous patch (PR jit/68446). The following patch attempts to make it easier to find that kind of thing by adding "poisoning" code: (A) when memory blocks are returned to the memo

[PATCH 2/2] RFE: poisoning of invalid memory blocks and obstacks

2016-01-15 Thread David Malcolm
It was difficult to track down the memory corruption bug fixed by the previous patch (PR jit/68446). The following patch attempts to make it easier to find that kind of thing by adding "poisoning" code: (A) when memory blocks are returned to the memory_block_pool's free list (e.g. by an obsta