1/* 2 * Copyright 2012, The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17// This file contains portions derived from LLVM, with the original copyright 18// header below: 19//===-- GDBJIT.cpp - Common Implementation shared by GDB-JIT users --------===// 20// 21// The LLVM Compiler Infrastructure 22// 23// This file is distributed under the University of Illinois Open Source 24// License. See LICENSE.TXT for details. 25// 26//===----------------------------------------------------------------------===// 27// 28// This file is used to support GDB's JIT interface 29// 30//===----------------------------------------------------------------------===// 31 32#include "llvm/Support/Compiler.h" 33 34// This interface must be kept in sync with gdb/gdb/jit.h . 35extern "C" { 36 37 // GDB 7.0+ puts a (silent) breakpoint in this function. 38 LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code() { } 39 40} 41