Posts

Post not yet marked as solved
0 Replies
168 Views
Hi, On enabling UBSAN(UndefinedBehaviorSanitizer) on Xcode a dip in branch coverage is observed. Is this behaviour expected? If the answer is yes, is there a way to enable UBSAN without affecting branch coverage data? Below is the reference of same code base, branch coverage data with enable and disable UBSAN Xcode version: 14.3.1 With UBSAN enable: Total branches: 250733 No of branches hit: 47945 With UBSAN disable: Total branches: 38673 No of branches hit: 11220
Posted Last updated
.
Post not yet marked as solved
0 Replies
157 Views
Hi, On enabling UBSAN(UndefinedBehaviorSanitizer) on Xcode a dip in branch coverage is observed. Is this behaviour expected? If the answer is yes, is there a way to enable UBSAN without affecting branch coverage data? Below is the reference of same code base, branch coverage data with enable and disable UBSAN Xcode version: 14.3.1 With UBSAN enable: Total branches: 250733 No of branches hit: 47945 With UBSAN disable: Total branches: 38673 No of branches hit: 11220
Posted Last updated
.
Post not yet marked as solved
3 Replies
1.3k Views
Hi I am getting the below error while doing memory profiling(launching instruments using xctrace command) in M1 processor. Run issues were detected (trace is still ready to be viewed): [Error] Failed to start the recording: ktrace cannot trace the system under Rosetta translation [Error] Unexpected failure: Data source agent failed to arm. [Error] Unexpected failure: Couriers have returned unexpectedly. Recording failed with errors. Saving output file... I am launching below command via jenkins: xcrun xctrace record --template 'Leaks' --launch <app_name> --output 'recording.trace'.
Posted Last updated
.