summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2015-10-21 01:22:27 +0000
committerDehao Chen <dehao@google.com>2015-10-21 01:22:27 +0000
commit100424124bf1f2845c8cac18e39333cf5f04b1ae (patch)
tree92f5b929fba79726bf7d69543d9fa218ecb27963 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
parent4c3f2b944689bdb23e929ab27815bbc87c20c035 (diff)
downloadbcm5719-llvm-100424124bf1f2845c8cac18e39333cf5f04b1ae.tar.gz
bcm5719-llvm-100424124bf1f2845c8cac18e39333cf5f04b1ae.zip
Tolerate negative offset when matching sample profile.
In some cases (as illustrated in the unittest), lineno can be less than the heade_lineno because the function body are included from some other files. In this case, offset will be negative. This patch makes clang still able to match the profile to IR in this situation. http://reviews.llvm.org/D13914 llvm-svn: 250873
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud