search for: llc_dwarf

Displaying 3 results from an estimated 3 matches for "llc_dwarf".

2016 Dec 15
3
[FileCheck] Fix --strict-whitespace --match-full-lines
...ost_triple+'-elf' config.substitutions.append( ('%lli', lli ) ) +config.substitutions.append( ('%filter-txt-comments', + 'sed \'s/^;.*$//\'') ) + # Similarly, have a macro to use llc with DWARF even when the host is win32. llc_dwarf = 'llc' if re.search(r'win32', config.target_triple): ... ] > (I didn't include this in my recent FileCheck Follies lightning talk, +1 viewcount. > because testing FileCheck itself is kind of an obscure corner of the > LLVM world and I was already bumping up agains...
2016 Dec 15
0
[FileCheck] Fix --strict-whitespace --match-full-lines
....substitutions.append( ('%lli', lli ) ) > > +config.substitutions.append( ('%filter-txt-comments', > + 'sed \'s/^;.*$//\'') ) > + > # Similarly, have a macro to use llc with DWARF even when the host is > win32. > llc_dwarf = 'llc' > if re.search(r'win32', config.target_triple): > ... > ] > > > (I didn't include this in my recent FileCheck Follies lightning talk, > > +1 viewcount. > > > because testing FileCheck itself is kind of an obscure corner of the > &...
2016 Dec 14
0
[FileCheck] Fix --strict-whitespace --match-full-lines
Please send patches to llvm-commits not llvm-dev. Writing FileCheck tests has pitfalls. A test along these lines: bla0 CHECK:bla1 will actually pass, because the CHECK pattern is also part of the input so it will readily match itself. You want the CHECK lines not to match themselves, which you can easily do by introducing {{}} into the (middle of the) pattern. That is: bla0 CHECK:{{bla1}}