https://bugs.llvm.org/show_bug.cgi?id=49319

            Bug ID: 49319
           Summary: FileCheck Crash with Malformed Regex
           Product: Test Suite
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedb...@nondot.org
          Reporter: nadiasggeb...@gmail.com
                CC: dan...@zuster.org, llvm-bugs@lists.llvm.org

Tested on LLVM with the most recent commit:
a08e609d2eac7737bfc14cd4ee35b2cabe1238b6.

Given the following "check.mlir"

```
// CHECK: [[a:*]]
```

Running with

```
./bin/FileCheck ../check.mlir
```

I expect to see FileCheck emit an error about invalid regex or wait for input
on stdin, but instead I see the attached segmentation fault and subsequent
stack trace.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to