[Lldb-commits] [PATCH] D20312: Fix function name lookup in IRExecutionEngine.cpp.
Stephane Sezer via lldb-commits
lldb-commits at lists.llvm.org
Thu May 19 13:37:55 PDT 2016
sas updated this revision to Diff 57854.
sas added a comment.
No need to use `.AsCString()` on these.
http://reviews.llvm.org/D20312
Files:
source/Expression/IRExecutionUnit.cpp
Index: source/Expression/IRExecutionUnit.cpp
===================================================================
--- source/Expression/IRExecutionUnit.cpp
+++ source/Expression/IRExecutionUnit.cpp
@@ -125,7 +125,7 @@
for (JittedFunction &function : m_jitted_functions)
{
- if (function.m_name.AsCString() != m_name.AsCString())
+ if (function.m_name == m_name)
{
func_local_addr = function.m_local_addr;
func_remote_addr = function.m_remote_addr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20312.57854.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160519/3df9d416/attachment.bin>
More information about the lldb-commits
mailing list