[all-commits] [llvm/llvm-project] db31e2: [lldb/Target] Support more than 2 symbols in Stack...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Wed Mar 18 06:16:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: db31e2e1e6cacb31f3fe5a9b0e9e52cd626b5ff2
https://github.com/llvm/llvm-project/commit/db31e2e1e6cacb31f3fe5a9b0e9e52cd626b5ff2
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2020-03-18 (Wed, 18 Mar 2020)
Changed paths:
M lldb/include/lldb/Target/StackFrameRecognizer.h
M lldb/packages/Python/lldbsuite/test/lldbutil.py
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/Options.td
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
M lldb/source/Target/AssertFrameRecognizer.cpp
M lldb/source/Target/StackFrameRecognizer.cpp
M lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
M lldb/test/API/commands/frame/recognizer/main.m
M lldb/unittests/Target/StackFrameRecognizerTest.cpp
Log Message:
-----------
[lldb/Target] Support more than 2 symbols in StackFrameRecognizer
This patch changes the way the StackFrame Recognizers match a certain
frame.
Until now, recognizers could be registered with a function
name but also an alternate symbol.
This change is motivated by a test failure for the Assert frame
recognizer on Linux. Depending the version of the libc, the abort
function (triggered by an assertion), could have more than two
signatures (i.e. `raise`, `__GI_raise` and `gsignal`).
Instead of only checking the default symbol name and the alternate one,
lldb will iterate over a list of symbols to match against.
rdar://60386577
Differential Revision: https://reviews.llvm.org/D76188
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
More information about the All-commits
mailing list