[all-commits] [llvm/llvm-project] d8ad01: [lldb] fix stepping through POSIX trampolines

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Jun 29 02:07:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8ad018869aeb1ffe40e94ee4d6d377121581083
      https://github.com/llvm/llvm-project/commit/d8ad018869aeb1ffe40e94ee4d6d377121581083
  Author: Michael Daniels <mdaniels2 at apple.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
    A lldb/test/API/lang/cpp/step-through-trampoline/Makefile
    A lldb/test/API/lang/cpp/step-through-trampoline/TestStepThroughTrampoline.py
    A lldb/test/API/lang/cpp/step-through-trampoline/foo.cpp
    A lldb/test/API/lang/cpp/step-through-trampoline/foo.h
    A lldb/test/API/lang/cpp/step-through-trampoline/main.cpp

  Log Message:
  -----------
  [lldb] fix stepping through POSIX trampolines

The DynamicLoaderPOSIXDYLD::GetStepThroughTrampolinePlan() function was
doing the symbol lookup using the demangled name. This stopped working
with https://reviews.llvm.org/D118814. To get things working again, just
use the mangled name for the lookup instead.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D127999




More information about the All-commits mailing list