Skip to content

[SR-2734] fatalError does not log on Android #45338

@johnno1962

Description

@johnno1962
Previous ID SR-2734
Radar None
Original Reporter @johnno1962
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Improvement, Android
Assignee None
Priority Medium

md5: 2f2d81b0a7232671d01a1cd62c6f09cc

Issue Description:

Calls to fatalError from Swift doe not log the informative message on Android or provide a stack trace. A change should be made around here: https://github.com/apple/swift/blob/master/stdlib/public/runtime/Errors.cpp#L204 to use __android_log_print() and modify the link of stdlib to use -llog.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions