aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorLuís Marques <luismarques@lowrisc.org>2022-01-19 21:55:35 +0000
committerLuís Marques <luismarques@lowrisc.org>2022-01-19 21:56:21 +0000
commita767ae2c5ce7615c188baabd3b6a52bb880de234 (patch)
tree7604f1e8c5fdf8f1b9364ec7c7aa2d9467a307f7 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent86cdff0e21237fb0e880b2f52aa30e0d8f1084fa (diff)
downloadllvm-a767ae2c5ce7615c188baabd3b6a52bb880de234.zip
llvm-a767ae2c5ce7615c188baabd3b6a52bb880de234.tar.gz
llvm-a767ae2c5ce7615c188baabd3b6a52bb880de234.tar.bz2
[RISCV] Fix incomplete asm statement parsing
For instructions without operands, the final `AsmToken::EndOfStatement` wasn't being consumed. In the context of inline assembly, the resulting empty statements would cause extraneous empty lines to be emitted. Fix the issue by consuming the `EndOfStatement` token. Differential Revision: https://reviews.llvm.org/D117565
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions