1//===-- asan_break_optimization.cc ----------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file is a part of AddressSanitizer, an address sanity checker. 11// 12//===----------------------------------------------------------------------===// 13 14#include "asan_test_utils.h" 15// Have this function in a separate file to avoid inlining. 16// (Yes, we know about cross-file inlining, but let's assume we don't use it). 17extern "C" void break_optimization(void *x) { 18 (void)x; 19} 20