forked from OSchip/llvm-project
[ubsan] Save binary name before parsing options
Summary: To parser "include" we may need to do binary name substitution. Reviewers: eugenis, alekseyshl Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D37658 llvm-svn: 312953
This commit is contained in:
parent
4084a583d9
commit
bdcc82d7ed
|
@ -40,8 +40,8 @@ static void CommonInit() {
|
|||
|
||||
static void CommonStandaloneInit() {
|
||||
SanitizerToolName = GetSanititizerToolName();
|
||||
InitializeFlags();
|
||||
CacheBinaryName();
|
||||
InitializeFlags();
|
||||
__sanitizer_set_report_path(common_flags()->log_path);
|
||||
AndroidLogInit();
|
||||
InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// RUN: %clangxx -O0 %s -o %t
|
||||
// UNSUPPORTED: ubsan
|
||||
|
||||
// Recursive include: options1 includes options2
|
||||
// RUN: echo "symbolize=1" > %t.options1.txt
|
||||
|
|
Loading…
Reference in New Issue