[scudo] Consistent setting of SCUDO_DEBUG
authorVitaly Buka <vitalybuka@google.com>
Tue, 25 May 2021 01:35:14 +0000 (18:35 -0700)
committerVitaly Buka <vitalybuka@google.com>
Tue, 25 May 2021 17:49:01 +0000 (10:49 -0700)
commit6a84d374d7dfa44094baed36fec2d5d92b2a6afc
tree221ee0213539ded8956e1cec3bf9132e3e59ab14
parente7c839b1925f27cacc89ab9b22abfc7da8fbfb15
[scudo] Consistent setting of SCUDO_DEBUG

Make sure that if SCUDO_DEBUG=1 in tests
then we had the same in the scudo
library itself.

Reviewed By: cryptoad, hctim

Differential Revision: https://reviews.llvm.org/D103061
compiler-rt/lib/scudo/standalone/CMakeLists.txt
compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt