[ubsan] Initialize Android logging.

This adds standalone ubsan output to "adb logcat", the same as ASan does.

llvm-svn: 278706
This commit is contained in:
Evgeniy Stepanov 2016-08-15 18:35:40 +00:00
parent 3f506daf8c
commit ff8ee02dec
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ static void CommonStandaloneInit() {
InitializeFlags();
CacheBinaryName();
__sanitizer_set_report_path(common_flags()->log_path);
AndroidLogInit();
InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir);
CommonInit();
ubsan_mode = UBSAN_MODE_STANDALONE;