diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2023-12-22 17:55:26 -0800 |
---|---|---|
committer | Aiden Grossman <agrossman154@yahoo.com> | 2023-12-22 17:55:26 -0800 |
commit | 63c314835458211b165e48b2278800ea6d52620a (patch) | |
tree | 3515fbaf4de2c75ec800be62918423f1510e038e /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 2205d2334f3c859ad9f6c65ed950bfb3bb6f7cbe (diff) | |
download | llvm-63c314835458211b165e48b2278800ea6d52620a.zip llvm-63c314835458211b165e48b2278800ea6d52620a.tar.gz llvm-63c314835458211b165e48b2278800ea6d52620a.tar.bz2 |
[llvm-exegesis] Fix stack pointer register restoration
9eb80ab3787e1851be8c686651688e870b93506b changed the method for stack
pointer restoration to fix segmentation faults. However, I made a
mistake in the patch and swapped a != for a ==, which caused an
arbitrary register (the first one specified) to get restored rather than
the stack pointer specifically. This patch fixes that issue and adds
test coverage to prevent regression.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions