[PATCH] Add support to FileCheck for out-of-order matching
Nico Rieck
nico.rieck at gmail.com
Fri May 3 08:25:42 PDT 2013
On 03.05.2013 16:55, Nick Lewycky wrote:
> One of the problems I have is that emitting a .ll file will reorder
> things. So I group my function declarations, definitions and named
> metadata together in a single logical test, then when emitting they're
> spread all over the file (named metadata is grouped at the end). That's
> really unfortunate, it happens a lot with debug info tests. This would
> give me a way to group together my check statements with the logical test.
I ran into the same problem. And it's not only metadata, but also
deferred emission of functions. This makes CHECK lines very hard to
follow and brittle. And I don't think the order of functions is of
relevance there.
-Nico
More information about the llvm-commits
mailing list