5 // Copyright 2015 Crashlytics, Inc. All rights reserved.
8 #import <Foundation/Foundation.h>
9 #import "CLSAttributes.h"
11 NS_ASSUME_NONNULL_BEGIN
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
22 @interface CLSStackFrame : NSObject
24 + (instancetype)stackFrame;
25 + (instancetype)stackFrameWithAddress:(NSUInteger)address;
26 + (instancetype)stackFrameWithSymbol:(NSString *)symbol;
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;