summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-12-12 01:32:09 +0000
committerJason Molenda <jmolenda@apple.com>2015-12-12 01:32:09 +0000
commit0071be6590483e8447e623b614193638be0f399f (patch)
tree98c0bb1b9c7af2de673794e11ae19d05f95d0669
parentdd4c71ca6e2ee6dfa2766d404bc4adc5b1bb587b (diff)
downloadbcm5719-llvm-0071be6590483e8447e623b614193638be0f399f.tar.gz
bcm5719-llvm-0071be6590483e8447e623b614193638be0f399f.zip
When supplying memory to expedite the unwinds in the T packet,
include two stack frames worth of unwind information instead of just one -- the unwinder is trying to fetch two stack frames in more instances now and we're sending extra memory reads resulting in a performance degredation while stepping. llvm-svn: 255417
-rw-r--r--lldb/tools/debugserver/source/RNBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp
index 2c9e0c5cf7f..0c2c742f9f3 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -2812,7 +2812,7 @@ RNBRemote::SendStopReplyPacketForThread (nub_thread_t tid)
// Add expedited stack memory so stack backtracing doesn't need to read anything from the
// frame pointer chain.
StackMemoryMap stack_mmap;
- ReadStackMemory (pid, tid, stack_mmap, 1);
+ ReadStackMemory (pid, tid, stack_mmap, 2);
if (!stack_mmap.empty())
{
for (const auto &stack_memory : stack_mmap)
OpenPOWER on IntegriCloud