summaryrefslogtreecommitdiff
path: root/contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-20 15:00:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-20 15:00:15 +0000
commit763d4102c9736544f95a61d4d0a9a5be8c5a5df1 (patch)
treeb4a2965a49e80461fb52cd69d55f966058e7ef4d /contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp
parent0e23b2ff8c430cd1145afb7bd55917c326bb1d06 (diff)
parent94994d372d014ce4c8758b9605d63fae651bd8aa (diff)
Notes
Diffstat (limited to 'contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp b/contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp
index fad67a9d5b7a..9059891e5e9b 100644
--- a/contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp
+++ b/contrib/llvm/tools/lldb/source/DataFormatters/CXXFunctionPointer.cpp
@@ -38,7 +38,7 @@ bool lldb_private::formatters::CXXFunctionPointerSummaryProvider(
Address so_addr;
Target *target = exe_ctx.GetTargetPtr();
- if (target && target->GetSectionLoadList().IsEmpty() == false) {
+ if (target && !target->GetSectionLoadList().IsEmpty()) {
if (target->GetSectionLoadList().ResolveLoadAddress(func_ptr_address,
so_addr)) {
so_addr.Dump(&sstr, exe_ctx.GetBestExecutionContextScope(),