diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-18 09:15:04 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-18 09:15:04 +0000 |
commit | 457dfbac8ac1e502f5ce2b86daa80b3c7db5bd08 (patch) | |
tree | 2835e5586f76749c379fce51c80969cc450ea23a /test/Makefile | |
parent | 43369249e7c2be91535e3ef900673e6116a953de (diff) | |
download | external_llvm-457dfbac8ac1e502f5ce2b86daa80b3c7db5bd08.zip external_llvm-457dfbac8ac1e502f5ce2b86daa80b3c7db5bd08.tar.gz external_llvm-457dfbac8ac1e502f5ce2b86daa80b3c7db5bd08.tar.bz2 |
Add a regression test for the bug exposed by r158087, which has been
temporarily reverted.
This test is annoyingly overspecified, but I don't know of another way
to thoroughly test the saving and restoring of the registers. While this
will have to be adjusted even with the issue fixed in order to re-apply
r158087, those adjustments should very clearly indicate that it is still
correct (%esp getting restored prior to pops), whereas without it, this
case can easily slip under the radar.
Still, any suggestions for improvements are very welcome.
All credit to Matt Beaumont-Gay for reducing this out of an insane
Address Sanitizer crash to a reasonably small seg-faulting C program
when built with -mstackrealign. I just reduced it to IR, which was much
simpler. =]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
0 files changed, 0 insertions, 0 deletions