[PATCH] D14119: [libcxxabi] Correctly align fallback heap

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 09:20:58 PDT 2015


t.p.northover added a comment.

Oh, and I **think** it can probably be justified under C++, though I've not quite joined up all the dots. The "object lifetime" rules seem to bless declaring a char array dead and reusing its storage for another purpose. Since heap_node has trivial initialization, you probably don't even need to do anything special to make it a heap.

I could be wrong there though.


Repository:
  rL LLVM

http://reviews.llvm.org/D14119





More information about the cfe-commits mailing list