[clang][extract-api] Emit "navigator" property of "name" in SymbolGraph
[llvm-project.git] / compiler-rt / lib / sanitizer_common / tests / sanitizer_test_main.cpp
blobcaab5ec288eabbfab63827ca892d92fa1dd43b93
1 //===-- sanitizer_test_main.cpp -------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of ThreadSanitizer/AddressSanitizer runtime.
11 //===----------------------------------------------------------------------===//
12 #include "gtest/gtest.h"
13 #include "sanitizer_common/sanitizer_flags.h"
15 const char *argv0;
17 int main(int argc, char **argv) {
18 argv0 = argv[0];
19 testing::GTEST_FLAG(death_test_style) = "threadsafe";
20 testing::InitGoogleTest(&argc, argv);
21 __sanitizer::SetCommonFlagsDefaults();
22 return RUN_ALL_TESTS();