1 //===-- printf_sanitizer_common.cpp -----------------------------*- C++ -*-===// 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 #include "gwp_asan/optional/printf.h" 10 11 #include "sanitizer_common/sanitizer_common.h" 12 13 namespace gwp_asan { 14 namespace test { 15 getPrintfFunction()16Printf_t getPrintfFunction() { return __sanitizer::Printf; } 17 18 } // namespace test 19 } // namespace gwp_asan 20