summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-03-23 11:59:08 +0000
committerFlorian Hahn <flo@fhahn.com>2021-03-23 12:05:41 +0000
commite43e8e913821f8db3684c384f5760b8e6e12e0d8 (patch)
treef4c5e0591beee0382f94ef5009f6db333d2fbbe6 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent8f80c66bd2982788a8eede4419684ca72f48b9a2 (diff)
[AnnotationRemarks] Use subprogram location for summary remarks.
The summary remarks are generated on a per-function basis. Using the first instruction's location is sub-optimal for 2 reasons: 1. Sometimes the first instruction is missing !dbg 2. The location of the first instruction may be mis-leading. Instead, just use the location of the function directly.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions