Author: kuba.brecka
Date: Thu Apr 7 05:07:45 2016
New Revision: 265652
URL: http://llvm.org/viewvc/llvm-project?rev=265652&view=rev
Log:
Simplify the ASan expression (follow-up for the previous commit, r265651).
Modified:
lldb/trunk/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
Modified: lldb/trunk/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp?rev=265652&r1=265651&r2=265652&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
(original)
+++ lldb/trunk/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp Thu Apr
7 05:07:45 2016
@@ -104,8 +104,8 @@ const char *
memory_history_asan_command_format = R"(
data t;
- t.alloc_count = ((size_t (*) (void *, void **, size_t, int
*))__asan_get_alloc_stack)((void *)0x%)" PRIx64 R"(, t.alloc_trace, 256,
&t.alloc_tid);
- t.free_count = ((size_t (*) (void *, void **, size_t, int
*))__asan_get_free_stack)((void *)0x%)" PRIx64 R"(, t.free_trace, 256,
&t.free_tid);
+ t.alloc_count = __asan_get_alloc_stack((void *)0x%)" PRIx64 R"(,
t.alloc_trace, 256, &t.alloc_tid);
+ t.free_count = __asan_get_free_stack((void *)0x%)" PRIx64 R"(,
t.free_trace, 256, &t.free_tid);
t;
)";
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits