summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ABI.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-01-06 00:38:06 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-01-06 00:38:06 +0000
commita322f36cfd7f2eb81b1527f2b4d786afdac4f7a4 (patch)
tree44c9dd582d0efc866da28073e2b34ee1fc8f736d /lldb/source/Target/ABI.cpp
parent049b017538e44c20be1ef3f9d19d0bcb90284c4a (diff)
downloadbcm5719-llvm-a322f36cfd7f2eb81b1527f2b4d786afdac4f7a4.tar.gz
bcm5719-llvm-a322f36cfd7f2eb81b1527f2b4d786afdac4f7a4.zip
Make lldb -Werror clean for -Wstring-conversion
Also found/fixed one bug identified by this warning in RenderScriptx86ABIFixups.cpp where a string literal was being used in an effort to provide a name for an instruction/register, but was instead being passed as the bool 'isVolatile' parameter. llvm-svn: 291198
Diffstat (limited to 'lldb/source/Target/ABI.cpp')
-rw-r--r--lldb/source/Target/ABI.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Target/ABI.cpp b/lldb/source/Target/ABI.cpp
index de4f685eb1c..87363a3b8ae 100644
--- a/lldb/source/Target/ABI.cpp
+++ b/lldb/source/Target/ABI.cpp
@@ -189,8 +189,7 @@ bool ABI::PrepareTrivialCall(Thread &thread, lldb::addr_t sp,
lldb::addr_t returnAddress, llvm::Type &returntype,
llvm::ArrayRef<ABI::CallArgument> args) const {
// dummy prepare trivial call
- assert(!"Should never get here!");
- return false;
+ llvm_unreachable("Should never get here!");
}
bool ABI::GetFallbackRegisterLocation(
OpenPOWER on IntegriCloud