[Lldb-commits] [lldb] 1f9f7a2 - [lldb] Relax backtrace checks in TestDyldLaunchLinux

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 20 03:59:44 PDT 2022


Author: Pavel Labath
Date: 2022-06-20T12:59:31+02:00
New Revision: 1f9f7a2f5d75dd7b1a361a9e22138c98fcdc532b

URL: https://github.com/llvm/llvm-project/commit/1f9f7a2f5d75dd7b1a361a9e22138c98fcdc532b
DIFF: https://github.com/llvm/llvm-project/commit/1f9f7a2f5d75dd7b1a361a9e22138c98fcdc532b.diff

LOG: [lldb] Relax backtrace checks in TestDyldLaunchLinux

Newer versions of glibc (2.34) have an extra frame inside the `raise`
function.

Added: 
    

Modified: 
    lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py b/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py
index 87952863747af..a9f28ccc325b1 100644
--- a/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py
+++ b/lldb/test/API/functionalities/dyld-launch-linux/TestDyldLaunchLinux.py
@@ -54,5 +54,4 @@ def test(self):
 
         # Stopped because of generated signal.
         self.assertState(process.GetState(), lldb.eStateStopped)
-        self.assertIn("raise", thread.GetFrameAtIndex(0).GetDisplayFunctionName())
-        self.assertIn("get_signal_crash", thread.GetFrameAtIndex(1).GetDisplayFunctionName())
+        self.assertIn("raise", lldbutil.get_function_names(thread))


        


More information about the lldb-commits mailing list