aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-04-24 09:03:51 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-04-24 09:10:41 -0700
commit1fcd234ac54a0bb9dcb14338db5a336d80321662 (patch)
tree57faac82a2d371da74759621a218d9717346b951 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentd4e7b000b2ebe7db2e2e1f3d0f5d37793e6d1c59 (diff)
downloadllvm-1fcd234ac54a0bb9dcb14338db5a336d80321662.zip
llvm-1fcd234ac54a0bb9dcb14338db5a336d80321662.tar.gz
llvm-1fcd234ac54a0bb9dcb14338db5a336d80321662.tar.bz2
[lldb/Core] Don't crash in GetSoftwareBreakpointTrapOpcode for unknown triples
This patch ensures we don't crash in GetSoftwareBreakpointTrapOpcode for not-yet-supported architectures but rather continue with degraded behavior. I found the issue in the context of an invalid ArchSpec, which should be handled further up the chain. In this patch I've also added an assert to cover that, so we can still catch those issues. Differential revision: https://reviews.llvm.org/D78588
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions