You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

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