1 /* 2 * File: sample.c 3 * 4 * Description: 5 * This is a sample source file for a library. It helps to demonstrate 6 * how to setup a project that uses the LLVM build system, header files, 7 * and libraries. 8 */ 9 10 #include <stdio.h> 11 #include <stdlib.h> 12 13 /* LLVM Header File 14 #include "llvm/Support/DataTypes.h" 15 */ 16 17 /* Header file global to this project */ 18 #include "sample.h" 19 20 int 21 compute_sample (int a) 22 { 23 return a; 24 } 25 26