added iOS source code
[wl-app.git] / iOS / Pods / Crashlytics / iOS / Crashlytics.framework / Headers / CLSStackFrame.h
1 //
2 //  CLSStackFrame.h
3 //  Crashlytics
4 //
5 //  Copyright 2015 Crashlytics, Inc. All rights reserved.
6 //
7
8 #import <Foundation/Foundation.h>
9 #import "CLSAttributes.h"
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 /**
14  *
15  * This class is used in conjunction with -[Crashlytics recordCustomExceptionName:reason:frameArray:] to
16  * record information about non-ObjC/C++ exceptions. All information included here will be displayed 
17  * in the Crashlytics UI, and can influence crash grouping. Be particularly careful with the use of the 
18  * address property. If set, Crashlytics will attempt symbolication and could overwrite other properities 
19  * in the process.
20  *
21  **/
22 @interface CLSStackFrame : NSObject
23
24 + (instancetype)stackFrame;
25 + (instancetype)stackFrameWithAddress:(NSUInteger)address;
26 + (instancetype)stackFrameWithSymbol:(NSString *)symbol;
27
28 @property (nonatomic, copy, nullable) NSString *symbol;
29 @property (nonatomic, copy, nullable) NSString *rawSymbol;
30 @property (nonatomic, copy, nullable) NSString *library;
31 @property (nonatomic, copy, nullable) NSString *fileName;
32 @property (nonatomic, assign) uint32_t lineNumber;
33 @property (nonatomic, assign) uint64_t offset;
34 @property (nonatomic, assign) uint64_t address;
35
36 @end
37
38 NS_ASSUME_NONNULL_END