Fixup for r172828: use InternalScopedBuffer in favor of large stack buffers

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172975 91177308-0d34-0410-b5e6-96231b3b80d8
Temporary disable test added in r172828 as it seems to be flaky on the buildbots

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172976 91177308-0d34-0410-b5e6-96231b3b80d8
CMake: Add add_compiler_rt_static_runtime function and use it to build generic compiler-rt libraries

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172977 91177308-0d34-0410-b5e6-96231b3b80d8
CMake: use add_compiler_rt_static_runtime to build TSan and MSan runtimes. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172978 91177308-0d34-0410-b5e6-96231b3b80d8
CMake: Add add_compiler_rt_osx_object_library to create universal libraries on Mac

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172979 91177308-0d34-0410-b5e6-96231b3b80d8
CMake: add functions creating universal runtime libraries for several architectures on OS X and use them in ASan and UBSan build rules

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173011 91177308-0d34-0410-b5e6-96231b3b80d8
ASan: build runtime library with ASAN_FLEXIBLE_MAPPING_AND_OFFSET=1 as shadow mapping/offset are always emitted by the LLVM backend now

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173013 91177308-0d34-0410-b5e6-96231b3b80d8
ASan: use dynamic lookup when building dynamic ASan runtime on Mac, because shadow mapping and offset are defined in the instrumented modules instead of runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173015 91177308-0d34-0410-b5e6-96231b3b80d8
ASan: build runtime flexible mapping and offset in configure+make build as well

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173016 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Move *scanf declarations out of mac-only section.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173020 91177308-0d34-0410-b5e6-96231b3b80d8
ASan: build unit tests with -fsanitize-address-zero-base-shadow on Linux and Android

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173021 91177308-0d34-0410-b5e6-96231b3b80d8