This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Refactor CrashReason
ClosedPublic

Authored by DavidSpickett on Mar 14 2023, 6:36 AM.

Details

Summary

So that there is only one function that NativeThreads call,
which takes a siginfo. Everything else is an internal detail.

Diff Detail

Event Timeline

DavidSpickett created this revision.Mar 14 2023, 6:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 6:36 AM
Herald added a subscriber: emaste. · View Herald Transcript
DavidSpickett requested review of this revision.Mar 14 2023, 6:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 6:36 AM

Or in other words "make it look like UnixSignals on the inside".

labath accepted this revision.Mar 14 2023, 10:16 AM
This revision is now accepted and ready to land.Mar 14 2023, 10:16 AM
This revision was automatically updated to reflect the committed changes.

Hey, it looks like the reland of this is causing issues with the Fuchsia toolchain build: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8786444992328058977/overview
Seems that it's only legal to call AppendBounds if you first check for the definition of si_lower and si_upper, since these guard the definition of AppendBounds.