aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-04-23 16:50:22 -0700
committerGitHub <noreply@github.com>2024-04-23 16:50:22 -0700
commitfd4399cb11f4069888bc7eac01f74493b5a2af48 (patch)
treeec86888dd2b385cf26dc7c0dc47d4cba5c3a7a08 /llvm/lib/CodeGen/MachineInstr.cpp
parent3fa6b9c69e27ca77f8c3929dc7908e727765cc4a (diff)
downloadllvm-fd4399cb11f4069888bc7eac01f74493b5a2af48.zip
llvm-fd4399cb11f4069888bc7eac01f74493b5a2af48.tar.gz
llvm-fd4399cb11f4069888bc7eac01f74493b5a2af48.tar.bz2
[lldb] Fix crash in SymbolFileCTF::ParseFunctions (#89845)
Make SymbolFileCTF::ParseFunctions resilient against not being able to resolve the argument or return type of a function. ResolveTypeUID can fail for a variety of reasons so we should always check its result. The type that caused the crash was `_Bool` which we didn't recognize as a basic type. This commit also fixes the underlying issue and adds a test. rdar://126943722
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions