blob: 358bf00a04032b4928585c0101ca706d29e0a370 [file] [log] [blame]
/*
//===- BoundsCheck.c - Call backs for boundary checking -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the BoundsCheck.h interface.
//
//===----------------------------------------------------------------------===//
*/
#include "BoundsCheck.h"
#include <stdio.h>
#include <stdlib.h>
void bchk_ind_fail(void *target) {
fprintf(stderr, "Boundary checking for indirect call to %p has failed\n", target);
exit(1);
}