[Lldb-commits] [lldb] [lldb] Improve ELF trampoline function detection (PR #178695)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 10 10:12:19 PST 2026
================
@@ -0,0 +1,102 @@
+"""
+Test case to verify stepping behavior into shared library functions.
+Specifically, this tests the scenario where a function's trampoline
+(PLT stub) has a different symbol at its file address,
+"""
+
+import lldb
+from lldbsuite.test.lldbtest import TestBase, line_number, configuration
+import lldbsuite.test.lldbutil as lldbutil
+
+
+class StepThroughTrampolineWithSymbol(TestBase):
+ SYMBOL_NAME = "lib_add"
+ FAKE_SYMBOL_NAME = "fake_lib_add"
+
+ def test(self):
----------------
da-viper wrote:
Yes
https://github.com/llvm/llvm-project/pull/178695
More information about the lldb-commits
mailing list