llvm-project/lldb
Jim Ingham 71c4da83b6 Don't assume that stepping out of a function will land on the next line.
For instance, some recent clang emits this code on x86_64:

    0x100002b99 <+57>: callq  0x100002b40               ; step_out_of_here at main.cpp:11
->  0x100002b9e <+62>: xorl   %eax, %eax
    0x100002ba0 <+64>: popq   %rbp
    0x100002ba1 <+65>: retq

and the "xorl %eax, %eax" is attributed to the same line as the callq.  Since
step out is supposed to stop just on returning from the function, you can't guarantee
it will end up on the next line.  I changed the test to check that we were either
on the call line or on the next line, since either would be right depending on the
debug information.
2021-03-18 17:44:17 -07:00
..
bindings [lldb] Ignore linkage diagnostic for LLDBSwigPythonBreakpointCallbackFunction (NFC) 2021-03-10 14:15:54 -08:00
cmake [lldb] Remove XPCServices symlinking 2021-03-01 11:23:46 -08:00
docs [lldb/Docs] Update docs with new buildbot URLs 2021-03-17 20:09:03 +01:00
examples [lldb] Update crashlog script for JSON changes 2021-03-09 10:44:34 -08:00
include/lldb [lldb] Move PlatformPOSIX::ConnectToWaitingProcesses to RemoteAwarePlatform 2021-03-14 22:43:52 +01:00
packages/Python [lldb-vscode] Handle request_evaluate's context attribute 2021-03-15 15:09:23 -07:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] Correct unsigned decimal argument check in memory write 2021-03-17 16:08:54 +00:00
test Don't assume that stepping out of a function will land on the next line. 2021-03-18 17:44:17 -07:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb-vscode] Handle request_evaluate's context attribute 2021-03-15 15:09:23 -07:00
unittests Migrate to llvm::unique_function instead of static member functions for callbacks 2021-03-02 16:13:54 -08:00
utils Reapply "[lldb/test] Automatically find debug servers to test" 2021-02-21 20:47:47 +01:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [CMake] Remove dead code setting policies to NEW 2021-01-19 17:19:36 +02:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py