[PATCH] D15539: [libcxxabi] Reducing stack usage of test
Ben Craig via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 15 13:47:04 PST 2015
bcraig created this revision.
bcraig added a reviewer: mclow.lists.
bcraig added a subscriber: cfe-commits.
This test has a lot of classes with large amounts of manually inserted padding in them, presumable to prevent various optimizations. The test then creates lots of these objects on the stack. On embedded targets, this was usually enough to overflow the stack.
I reduced the padding significantly. I made the padding values prime to try and keep the evil optimizations at bay.
http://reviews.llvm.org/D15539
Files:
test/dynamic_cast14.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15539.42903.patch
Type: text/x-patch
Size: 6270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151215/fe63649e/attachment.bin>
More information about the cfe-commits
mailing list