ApplyDebugLocation goes out of scope at the end of the conditional branch which is a bug. This causes a crash in the test added in the patch.
rdar://103570533
Differential D142243
[CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended usama54321 on Jan 20 2023, 11:39 AM. Authored by
Details ApplyDebugLocation goes out of scope at the end of the conditional branch which is a bug. This causes a crash in the test added in the patch. rdar://103570533
Diff Detail
Event TimelineComment Actions Code LGTM, it would be nice if we could further reduce the test case.
Comment Actions The libcxx test failure seems unrelated and seems to be failing on master |
Could you get by with just defining NSObject inline and forward-declaring NSString? Including Foundation.h is very expensive.