Support LLVM_ENABLE_PER_TARGET_RUNTIME_DIR in the sanitizer symbolizer build.
authorEvgenii Stepanov <eugenis@google.com>
Fri, 27 Aug 2021 20:36:38 +0000 (13:36 -0700)
committerEvgenii Stepanov <eugenis@google.com>
Fri, 27 Aug 2021 20:50:19 +0000 (13:50 -0700)
commitf89ebe108e6f316a7ef293869e420491992b84cc
tree324e9043044cdd790adb06fba958c7002a680662
parent97ae9193dfe180dcd353a0c80465a9c74781fab6
Support LLVM_ENABLE_PER_TARGET_RUNTIME_DIR in the sanitizer symbolizer build.

In this mode libc++ headers end up in two directories:
* include/<triple>/c++/v1 for the site config header
* include/c++/v1 for everything else

Also switch from -I to -isystem.

Differential Revision: https://reviews.llvm.org/D108841
compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh