1*d6d569fcSNico Weber //===-- sanitizer_nolibc_test_main.cpp ------------------------------------===// 2*d6d569fcSNico Weber // 3*d6d569fcSNico Weber // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*d6d569fcSNico Weber // See https://llvm.org/LICENSE.txt for license information. 5*d6d569fcSNico Weber // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*d6d569fcSNico Weber // 7*d6d569fcSNico Weber //===----------------------------------------------------------------------===// 8*d6d569fcSNico Weber // 9*d6d569fcSNico Weber // This file is a part of ThreadSanitizer/AddressSanitizer runtime. 10*d6d569fcSNico Weber // Tests for libc independence of sanitizer_common. 11*d6d569fcSNico Weber // 12*d6d569fcSNico Weber //===----------------------------------------------------------------------===// 13*d6d569fcSNico Weber 14*d6d569fcSNico Weber #include "sanitizer_common/sanitizer_libc.h" 15*d6d569fcSNico Weber _start()16*d6d569fcSNico Weberextern "C" void _start() { 17*d6d569fcSNico Weber __sanitizer::internal__exit(0); 18*d6d569fcSNico Weber } 19