Hi all:
I'm writing testcase for the MC layer regression in llvm, the disassembled string is a bit complicate, for example:
"IALU.T0 (I0) = BIU0.DM ; REPEAT AT ( 2 ) ;;"
The spaces in the disassembled string is error-prone. Is there any option to tell the FileCheck utility to ignore the spaces ?
By default, FileCheck canonicalizes input horizontal whitespace (spaces and tabs) which causes it to ignore these differences (a space will match a tab). The/--strict-whitespace/ <http://llvm.org/docs/CommandGuide/FileCheck.html#cmdoption--strict-whitespace>argument disables this behavior. End-of-line sequences are canonicalized to UNIX-style ‘n’ in all modes."
So it just ignore the differences between space and tab, not the whitespace .
By default, FileCheck canonicalizes input horizontal whitespace (spaces and
tabs) which causes it to ignore these differences (a space will match a
tab). The --strict-whitespace argument disables this behavior. End-of-line
sequences are canonicalized to UNIX-style ‘n’ in all modes."
So it just ignore the differences between space and tab, not the whitespace
I guess a whitespace means a space or a tab. Filecheck treats tabs and
spaces equally, and ignores differences between "whitespace" strings.