diff options
Diffstat (limited to 'source/Target/Platform.cpp')
-rw-r--r-- | source/Target/Platform.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/Target/Platform.cpp b/source/Target/Platform.cpp index 43371ec23614..d8db53663f14 100644 --- a/source/Target/Platform.cpp +++ b/source/Target/Platform.cpp @@ -1876,9 +1876,8 @@ size_t Platform::GetSoftwareBreakpointTrapOpcode(Target &target, } break; default: - assert( - !"Unhandled architecture in Platform::GetSoftwareBreakpointTrapOpcode"); - break; + llvm_unreachable( + "Unhandled architecture in Platform::GetSoftwareBreakpointTrapOpcode"); } assert(bp_site); |