diff options
author | Ted Woodward <tedwood@quicinc.com> | 2023-07-12 11:04:14 -0500 |
---|---|---|
committer | Ted Woodward <tedwood@quicinc.com> | 2023-07-12 11:39:11 -0500 |
commit | ded1bad64af0acf312d2464fcc4e826f89a720d0 (patch) | |
tree | 81122d8b8145fb805d696d97424bcea0cec08db3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h | |
parent | 85b27ace52560da6f37d58a8460885adcf147c8b (diff) | |
download | llvm-ded1bad64af0acf312d2464fcc4e826f89a720d0.zip llvm-ded1bad64af0acf312d2464fcc4e826f89a720d0.tar.gz llvm-ded1bad64af0acf312d2464fcc4e826f89a720d0.tar.bz2 |
Fix mixed disassembly showing source lines for "line 0"
"line 0" in a DWARF linetable means something that doesn't have associated
source. The code for mixed disassembly has a comment indicating that
"line 0" should be skipped, but the wrong value was returned. Fix the return
value and add a test to check that we don't incorrectly show source lines
from the beginning of the file.
Reviewed By: jasonmolenda
Differential Revision: https://reviews.llvm.org/D112931
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
0 files changed, 0 insertions, 0 deletions