File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Tests/SentryTests/SentryCrash Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11#import " SentryBinaryImageCache+Private.h"
22#import " SentryCrashBinaryImageCache.h"
3+ #import " SentryCrashDynamicLinker+Test.h"
34#import " SentryCrashWrapper.h"
45#import " SentryDependencyContainer.h"
56#import < XCTest/XCTest.h>
@@ -85,6 +86,7 @@ + (void)setUp
8586 mach_headers_test_cache = [NSMutableArray array ];
8687
8788 // Manually include dyld
89+ sentrycrashdl_initialize ();
8890 [mach_headers_test_cache addObject: [NSValue valueWithPointer: sentryDyldHeader]];
8991 _dyld_register_func_for_add_image (&cacheMachHeaders);
9092}
@@ -102,6 +104,7 @@ - (void)setUp
102104
103105- (void )tearDown
104106{
107+ sentrycrashdl_clearDyld ();
105108 sentry_resetFuncForAddRemoveImage ();
106109 sentrycrashbic_stopCache ();
107110 sentry_setFuncForBeforeAdd (NULL );
You can’t perform that action at this time.
0 commit comments