Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 5666b34

Browse files
author
Devang Patel
committed
cleanup.
llvm-svn: 134450
1 parent 4171604 commit 5666b34

File tree

1 file changed

+3
-49
lines changed

1 file changed

+3
-49
lines changed

TEST.lineinfo.Makefile

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -12,54 +12,8 @@ COLLECTOR := $(PROJ_SRC_ROOT)/CollectDebugInfoUsingLLDB.py
1212
REPORTS_TO_GEN := dbg
1313
REPORTS_SUFFIX := $(addsuffix .report.txt, $(REPORTS_TO_GEN))
1414

15-
Output/%.bp: %.c Output/.dir
16-
$(LCC) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
17-
$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
18-
19-
Output/%.bp: %.cpp Output/.dir
20-
$(LCXX) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
21-
$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
22-
23-
Output/%.bp: %.m Output/.dir
24-
$(LCC) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
25-
$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
26-
27-
Output/%.bp: %.mm Output/.dir
28-
$(LCXX) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
29-
$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
30-
3115
$(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
32-
test.$(TEST).%: Output/%.bp Output/%.dbg Output/%.dbg.opt Output/%.native.dbg Output/%.native.dbg.opt
33-
@-is_skip=0; \
34-
if test "$*" == "reversefile"; then \
35-
is_skip=1; \
36-
fi; \
37-
if test "$*" == "spellcheck"; then \
38-
is_skip=1; \
39-
fi; \
40-
if test "$*" == "sumcol"; then \
41-
is_skip=1; \
42-
fi; \
43-
if test "$*" == "wc"; then \
44-
is_skip=1; \
45-
fi; \
46-
if test "$*" == "wordfreq"; then \
47-
is_skip=1; \
48-
fi; \
49-
if test "$*" == "exptree"; then \
50-
is_skip=1; \
51-
fi; \
52-
if test "$*" == "ray"; then \
53-
is_skip=1; \
54-
fi; \
55-
if test "$*" == "oscar"; then \
56-
is_skip=1; \
57-
fi; \
58-
if test "$*" == "spirit"; then \
59-
is_skip=1; \
60-
fi; \
61-
if test $$is_skip == 0; then \
62-
$(PROJ_SRC_ROOT)/PrintLineNo.sh $*; \
63-
$(PROJ_SRC_ROOT)/FindMissingLineNo.py $* $(PROJ_SRC_ROOT);\
64-
fi
16+
test.$(TEST).%: Output/%.dbg Output/%.dbg.opt Output/%.native.dbg Output/%.native.dbg.opt
17+
$(PROJ_SRC_ROOT)/PrintLineNo.sh $*; \
18+
$(PROJ_SRC_ROOT)/FindMissingLineNo.py $* $(PROJ_SRC_ROOT);
6519

0 commit comments

Comments
 (0)