diff options
author | Nathan Ridge <zeratul976@hotmail.com> | 2023-04-26 02:21:46 -0400 |
---|---|---|
committer | Nathan Ridge <zeratul976@hotmail.com> | 2023-08-18 23:26:32 -0400 |
commit | 744b111434b25b1259308050c59062dc4f38a589 (patch) | |
tree | 267831f30b45aa2f887ca9145873193c4c421391 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 92464ccbad04eeab13515a0a55aa2f66e969a930 (diff) | |
download | llvm-744b111434b25b1259308050c59062dc4f38a589.zip llvm-744b111434b25b1259308050c59062dc4f38a589.tar.gz llvm-744b111434b25b1259308050c59062dc4f38a589.tar.bz2 |
[clangd] Bail gracefully if given an assembly or IR source file
The previous behaviour is to try to parse such files, and in some
cases assert or hang in components that don't expect these forms of
input, like TokenBuffer.
Fixes https://github.com/llvm/llvm-project/issues/62090
Differential Revision: https://reviews.llvm.org/D149236
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions