llvm-project/lldb
Jason Molenda a38312a9a4 Fix the L1 cache search in MemoryCache::Read to use the
stl upper_bound method instead of lower_bound - we were
failing to find some cached data in the L1 cache resulting
in extra memory read packets while stepping.

The bug with the existing code looked like this:
If the L1 cache has 8 bytes at address 0x1000 and 8 bytes
at address 0x2000 and we are searching for 4 bytes at 0x2004,
the use of lower_bound would return the end() of the container
and so we would incorrectly treat the memory as uncached.

(the L1 cache is memory seeded from debugserver in the T aka
questionmark packet, where debugserver will send up the stack
memory that likely contains the caller's stack pointer and 
frame pointer values.)

<rdar://problem/23869227> 

llvm-svn: 255421
2015-12-12 03:06:10 +00:00
..
cmake Switch to gold linker on android x86, x86_64, arm 2015-12-10 11:02:51 +00:00
docs Modify "platform connect" to connect to processes as well 2015-12-08 14:08:19 +00:00
examples Python 3 - modernize exception catching syntax. 2015-11-03 19:49:05 +00:00
include Add some additional safety checks to the StructuredData access 2015-12-09 04:15:47 +00:00
lib Add more autotools/gmake NetBSD glue 2015-11-15 02:00:09 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Fix Xcode project after recent Windows core file changes. 2015-11-20 23:53:53 +00:00
lldb.xcworkspace Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
packages/Python/lldbsuite Decouple test execution and test finder logic in parallel test runner. 2015-12-12 00:34:57 +00:00
resources Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00
scripts Change finishSwigPythonLLDB.py to copy six.py instead of simlink it 2015-12-11 15:43:36 +00:00
source Fix the L1 cache search in MemoryCache::Read to use the 2015-12-12 03:06:10 +00:00
test Remove `lldb.root` and just look for the file we care about. 2015-11-20 17:40:57 +00:00
third_party/Python/module Put progress.py back, apparently this can't be deleted. 2015-12-09 21:32:28 +00:00
tools When supplying memory to expedite the unwinds in the T packet, 2015-12-12 01:32:09 +00:00
unittests Fix a bug in PythonExceptionState and add unittest coverage. 2015-11-13 01:50:19 +00:00
utils Python 3: Modernize exception raising syntax. 2015-11-03 21:01:45 +00:00
www Document NetBSD platform support on the webpage 2015-12-05 19:41:37 +00:00
.arcconfig
.clang-format Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
.gitignore Update .gitignore to include __pycache__ directories. 2015-12-03 19:20:11 +00:00
CMakeLists.txt Fix CMake dependency on lldb.py 2015-11-18 21:09:55 +00:00
CODE_OWNERS.txt Added myself to the CODE_OWNERS.txt list for a few subsystems. 2015-11-09 01:24:36 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
Makefile Allow to override python-config executable name from command line 2015-11-15 01:56:21 +00:00
use_lldb_suite_root.py Preparation for turning lldbsuite into a Python package. 2015-10-27 22:33:47 +00:00