Skip to content

Commit 635a89a

Browse files
author
Jim Grosbach
committed
add more debug info filters to optllcdbg test
llvm-svn: 105635
1 parent 513ef7e commit 635a89a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

TEST.optllcdbg.Makefile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Output/%.first.s: Output/%.t1c.s Output/.dir $(LLC)
3838
| grep -v '\.short' \
3939
| grep -v '\.asci' \
4040
| grep -v '\.quad' \
41+
| grep -v '\.align' \
4142
| grep -v '## DW_AT' \
4243
| grep -v '## Abbrev' \
4344
| grep -v '## End Of Children' \
@@ -53,7 +54,11 @@ Output/%.first.s: Output/%.t1c.s Output/.dir $(LLC)
5354
| grep -v 'debug_loc' \
5455
| grep -v 'Lpubtypes' \
5556
| grep -v 'Lpubnames' \
56-
| grep -v 'Linfo_' > $@
57+
| grep -v 'Linfo_' \
58+
| grep -v 'Lfunc_begin' \
59+
| grep -v 'Lfunc_end' \
60+
| grep -v 'Ldebug_frame_begin' \
61+
| grep -v 'Ldebug_frame_end' > $@
5762

5863
Output/%.t2a.bc: Output/%.linked.rbc Output/.dir $(LOPT)
5964
$(LOPT) -strip-nondebug $< -f -o $@
@@ -70,6 +75,7 @@ Output/%.second.s: Output/%.t2c.s Output/.dir
7075
| grep -v '\.short' \
7176
| grep -v '\.asci' \
7277
| grep -v '\.quad' \
78+
| grep -v '\.align' \
7379
| grep -v '## DW_AT' \
7480
| grep -v '## Abbrev' \
7581
| grep -v '## End Of Children' \
@@ -85,7 +91,11 @@ Output/%.second.s: Output/%.t2c.s Output/.dir
8591
| grep -v 'debug_loc' \
8692
| grep -v 'Lpubtypes' \
8793
| grep -v 'Lpubnames' \
88-
| grep -v 'Linfo_' > $@
94+
| grep -v 'Linfo_' \
95+
| grep -v 'Lfunc_begin' \
96+
| grep -v 'Lfunc_end' \
97+
| grep -v 'Ldebug_frame_begin' \
98+
| grep -v 'Ldebug_frame_end' > $@
8999

90100
Output/%.diff: Output/%.first.s Output/%.second.s
91101
@-if diff $^ > $@; then \

0 commit comments

Comments
 (0)