[Lldb-commits] [PATCH] Add ASan history threads into process_sp->GetExtendedThreadList, so they don't get freed too early

Kuba Brecka kuba.brecka at gmail.com
Mon Sep 22 15:35:44 PDT 2014


1) added the
  "process_sp->GetExtendedThreadList().AddThread (new_thread_sp);"
line when the ThreadSP is created, and also added this into the test case

2) refactored the duplicate code into a CreateHistoryThreadFromValueObject function that is called twice.

http://reviews.llvm.org/D5452

Files:
  source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
  test/functionalities/asan/TestAsan.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5452.13960.patch
Type: text/x-patch
Size: 4943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140922/0b312b6a/attachment.bin>


More information about the lldb-commits mailing list