[all-commits] [llvm/llvm-project] 7a7cb8: [LLDB] Add a StackFrameRecognizer for the Darwin s...

jimingham via All-commits all-commits at lists.llvm.org
Fri Aug 2 10:39:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a7cb8156b0a85f1eca772329644cae5989d4ed1
      https://github.com/llvm/llvm-project/commit/7a7cb8156b0a85f1eca772329644cae5989d4ed1
  Author: jimingham <jingham at apple.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    A lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.cpp
    A lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/CMakeLists.txt
    M lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
    M lldb/source/Target/Process.cpp
    A lldb/test/API/macosx/abort_with_payload/Makefile
    A lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py
    A lldb/test/API/macosx/abort_with_payload/main.c

  Log Message:
  -----------
  [LLDB] Add a StackFrameRecognizer for the Darwin specific abort_with_payload… (#101365)

This is used by various system routines (the capabilities checker and
dyld to name a few) to add extra color to an abort. This patch adds a
frame recognizer so people can easily see the details, and also adds the
information to the ExtendedCrashInformation dictionary.

I also had to rework how the dictionary is held; previously it was
created on demand, but that was inconvenient since it meant all the
entries had to be produced at that same time. That didn't work for the
recognizer.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list