Commit d70b83d
committed
[mlir] Fix bug in PDLL Parser
This reverts changes made to `mlir/lib/Tools/PDLL/Parser/Parser.cpp` in 095b41c .
`raw_indented_ostream::printReindented()` reads from a string to which it also concurrently writes to,
causing unintended behavior.
Credits to @jackalcooper for finding the issue.1 parent 3db6011 commit d70b83d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
0 commit comments