aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparsei
AgeCommit message (Collapse)AuthorFilesLines
2014-04-15sparse{i,c}: use LLVM_CONFIG to find llc and lliCody P Schafer1-1/+1
Some systems have multiple llvm versions installed, and have prefixed executables ("<exec>-<version>"). While we could require the user to specify a variable for each executable (LLC, LLI), using llvm-config --bindir to locate them and allowing them to override using LLVM_CONFIG makes much less work. Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
2013-05-18sparse, llvm: simplify function generationXi Wang1-0/+13
Remove repeated code, such as get_func_type() vs sym_func_type(), pseudo_type() vs symbol_type(). Fix generating variadic functions. Add a test case using printf(). Cc: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>