diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-12-09 11:57:23 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-12-09 14:34:31 +0100 |
commit | 94603ec11b55ca22b5dbebcfca5e83f313b632e3 (patch) | |
tree | b2b8cf74954574d58f258783753ff202b86ae279 /lldb/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py | |
parent | c20930a724f9ecaa6ef4bea819f5ce5115506107 (diff) | |
download | bcm5719-llvm-94603ec11b55ca22b5dbebcfca5e83f313b632e3.tar.gz bcm5719-llvm-94603ec11b55ca22b5dbebcfca5e83f313b632e3.zip |
[Parser] Don't crash on MS assembly if target desc/asm parser isn't linked in.
Summary:
Instead, emit a diagnostic and return an empty ASM node, as we do if the target
is missing.
Filter this diagnostic out in clangd, where it's not meaningful.
Fixes https://github.com/clangd/clangd/issues/222
Reviewers: kadircet
Subscribers: mgorny, ilya-biryukov, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71189
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py')
0 files changed, 0 insertions, 0 deletions