1 Star 0 Fork 14

Sukhikh Alexander/llvm-test-suite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.dummylib 856 Bytes
一键复制 编辑 原始数据 按行查看 历史
##===- Makefile.dummylib -----------------------------------*- Makefile -*-===##
#
# This makefile fragment is to be used by program tests which require the
# program to be linked with libdummy. The output program is named:
# Output/$(PROG).lib.bc
#
##===----------------------------------------------------------------------===##
# DUMMYLIB - The path to the library of stub functions which is used to resolve
# external functions for dsanalysis.
#
DUMMYLIB := $(LLVMLIBDEBUGSOURCE)/libdummy.bca
DUMMYSRC := $(LLVM_SRC_ROOT)/runtime/libdummy
# Rebuild dummylib if necessary...
$(DUMMYLIB) : $(wildcard $(DUMMYSRC)/*.c)
cd $(DUMMYSRC); $(MAKE)
# LINKED_PROGS - All of the programs linked to libdummy
LINKED_PROGS := $(PROGRAMS_TO_TEST:%=Output/%.lib.bc)
$(LINKED_PROGS): Output/%.lib.bc: Output/%.llvm.bc $(DUMMYLIB)
$(LLINK) $< $(DUMMYLIB) -o $@
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sukhikhalexander/llvm-test-suite.git
git@gitee.com:sukhikhalexander/llvm-test-suite.git
sukhikhalexander
llvm-test-suite
llvm-test-suite
main

搜索帮助