[ASan] Added __cplusplus guard around the C++ code so it is safe to include asan_mapp...
authorKirill Stoimenov <kstoimenov@google.com>
Wed, 8 Dec 2021 20:16:14 +0000 (20:16 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Wed, 8 Dec 2021 21:02:40 +0000 (21:02 +0000)
commit00616123f8bb494a8113933c6a0ab505d023dbef
treed2c99f4d78af78fa1ea1e99a79e55b9e3b783916
parent287fa2e16432c57b6127784c09b19817c33c3e51
[ASan] Added __cplusplus guard around the C++ code so it is safe to include asan_mapping.h in assembly files.

This will avoid addind asan_shadow_defines.h in D114558.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D115348
compiler-rt/lib/asan/asan_mapping.h