[compiler-rt] r312952 - Revert "[ubsan] Save binary name before parsing options"
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 14:12:43 PDT 2017
Author: vitalybuka
Date: Mon Sep 11 14:12:43 2017
New Revision: 312952
URL: http://llvm.org/viewvc/llvm-project?rev=312952&view=rev
Log:
Revert "[ubsan] Save binary name before parsing options"
Patch was corrupted by rebase.
This reverts commit r312933
Modified:
compiler-rt/trunk/lib/ubsan/ubsan_init.cc
Modified: compiler-rt/trunk/lib/ubsan/ubsan_init.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/ubsan_init.cc?rev=312952&r1=312951&r2=312952&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/ubsan_init.cc (original)
+++ compiler-rt/trunk/lib/ubsan/ubsan_init.cc Mon Sep 11 14:12:43 2017
@@ -40,8 +40,8 @@ static void CommonInit() {
static void CommonStandaloneInit() {
SanitizerToolName = GetSanititizerToolName();
- CacheBinaryName();
InitializeFlags();
+ CacheBinaryName();
__sanitizer_set_report_path(common_flags()->log_path);
AndroidLogInit();
InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir);
More information about the llvm-commits
mailing list