1 |
efrain |
1 |
// Copyright 2020 Google LLC
|
|
|
2 |
//
|
|
|
3 |
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
4 |
// you may not use this file except in compliance with the License.
|
|
|
5 |
// You may obtain a copy of the License at
|
|
|
6 |
//
|
|
|
7 |
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
8 |
//
|
|
|
9 |
// Unless required by applicable law or agreed to in writing, software
|
|
|
10 |
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
12 |
// See the License for the specific language governing permissions and
|
|
|
13 |
// limitations under the License.
|
|
|
14 |
|
|
|
15 |
#import <Foundation/Foundation.h>
|
|
|
16 |
|
|
|
17 |
#import "Crashlytics/Crashlytics/Public/FirebaseCrashlytics/FIRStackFrame.h"
|
|
|
18 |
|
|
|
19 |
NS_ASSUME_NONNULL_BEGIN
|
|
|
20 |
|
|
|
21 |
/**
|
|
|
22 |
* This class is used in conjunction with recordExceptionModel to record information about
|
|
|
23 |
* non-ObjC, non-C++, and non-Swift exceptions. All information included here will be displayed in
|
|
|
24 |
*the Crashlytics UI, and can influence crash grouping. Be particularly careful with the use of the
|
|
|
25 |
*address properties. If set, Crashlytics will attempt symbolication and could overwrite other
|
|
|
26 |
*properities in the process.
|
|
|
27 |
**/
|
|
|
28 |
@interface FIRStackFrame (Private)
|
|
|
29 |
|
|
|
30 |
+ (instancetype)stackFrame;
|
|
|
31 |
+ (instancetype)stackFrameWithAddress:(NSUInteger)address;
|
|
|
32 |
+ (instancetype)stackFrameWithSymbol:(NSString *)symbol;
|
|
|
33 |
|
|
|
34 |
@property(nonatomic, copy, nullable) NSString *symbol;
|
|
|
35 |
@property(nonatomic, copy, nullable) NSString *rawSymbol;
|
|
|
36 |
@property(nonatomic, copy, nullable) NSString *library;
|
|
|
37 |
@property(nonatomic, copy, nullable) NSString *fileName;
|
|
|
38 |
@property(nonatomic, assign) uint32_t lineNumber;
|
|
|
39 |
@property(nonatomic, assign) uint64_t offset;
|
|
|
40 |
@property(nonatomic, assign) uint64_t address;
|
|
|
41 |
|
|
|
42 |
@end
|
|
|
43 |
|
|
|
44 |
NS_ASSUME_NONNULL_END
|