aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2021-10-07 12:58:24 -0700
committerAdrian Prantl <aprantl@apple.com>2021-10-07 13:54:28 -0700
commit9f93f2bfbd3fedb94490d42e48b89c2a8f05ff0a (patch)
treebe2dedd077654602a14ac0f723d5a1c4f8581fa3 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent4651576edd09bb4b0978db8592e938484e7bbd4f (diff)
downloadllvm-9f93f2bfbd3fedb94490d42e48b89c2a8f05ff0a.zip
llvm-9f93f2bfbd3fedb94490d42e48b89c2a8f05ff0a.tar.gz
llvm-9f93f2bfbd3fedb94490d42e48b89c2a8f05ff0a.tar.bz2
Do not emit prologue_end for line 0 locs if there is a non-zero loc present
This change fixes a bug where the compiler generates a prologue_end for line 0 locs. That is because line 0 is not associated with any source location, so there should not be a prolgoue_end at a location that doesn't correspond to a source location. There were some LLVM tests that were explicitly checking for line 0 prologue_end's as well since I believe that to be incorrect, I had to change those tests as well. Patch by Shubham Rastogi! Differential Revision: https://reviews.llvm.org/D110740
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions