diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-08-18 00:20:03 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-08-18 00:28:20 -0700 |
commit | 515c435e378b243b1be3da1587c9e206055f2c32 (patch) | |
tree | 3f330d320154ae8e112581bbdb2f008545a98e00 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp | |
parent | b7cf9bbfde5e623e16fe8669e18aa34cbb3afafa (diff) | |
download | llvm-515c435e378b243b1be3da1587c9e206055f2c32.zip llvm-515c435e378b243b1be3da1587c9e206055f2c32.tar.gz llvm-515c435e378b243b1be3da1587c9e206055f2c32.tar.bz2 |
[asan] Fix stack pointers comparison in FakeStack
Unlucky naming top/bottom for stack bounds, has nothing to do with real
stack top. So top > botton is here, and opposite of
9be8892908d49c19fd6c9fc930d0f41276c3e345 assumption.
This is minimal fix in case cherry-picks is needed. Naming fix and
testing (if possible) will be in followup patches.
Introduced in 9be8892908d49c19fd6c9fc930d0f41276c3e345.
Can't symply reverted 9be8892908d49c19fd6c9fc930d0f41276c3e345 as
it fixes ~10 year old bug, accidentally exposed by
a8bef8865e4a4226ee608df327fddd380870c620.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions