Depending on some combination of host architecture/LLVM's version/... the output of llvm-dis may or may not contains the target layout. Worse it may also contains the target triple that was used to compile sparse-llvm. This is a problem for sparse-llvm-dis (which unique purpose is to test the generated LLVM bytecode) given that the test-system doesn't offer much flexibility: it only known about line patterns or the whole output without having the possibility to ignore some lines. Fix this by filtering out lines begining by 'target ' in the output of sparse-llvm-dis. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- sparse-llvm-dis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparse-llvm-dis b/sparse-llvm-dis index 2bd840801..2958217b4 100755 --- a/sparse-llvm-dis +++ b/sparse-llvm-dis @@ -12,4 +12,4 @@ if [ $# -eq 0 ]; then fi DIRNAME=$(dirname $0) -$DIRNAME/sparse-llvm "$@" | "$DIS" +$DIRNAME/sparse-llvm "$@" | "$DIS" | grep -v '^target ' -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html