Skip to content

Conversation

@Michael137
Copy link

The utility expressions in the InstrumentationRuntime plugins are just plain C code, but we run them as ObjC++. That meant we were doing redundant work (like looking up decls in the Objective-C runtime). The sanitizer tests sporadically time out while looking up function symbols in the Objective-C runtime. This patch switches the expression language to C.

Didn't find a great way of testing this other than looking at the expression log.

rdar://165656320
(cherry picked from commit d7cbc7f)

…llvm#172019)

The utility expressions in the `InstrumentationRuntime` plugins are just
plain C code, but we run them as `ObjC++`. That meant we were doing
redundant work (like looking up decls in the Objective-C runtime). The
sanitizer tests sporadically time out while looking up function symbols
in the Objective-C runtime. This patch switches the expression language
to `C`.

Didn't find a great way of testing this other than looking at the
expression log.

rdar://165656320
(cherry picked from commit d7cbc7f)
@Michael137 Michael137 requested a review from a team as a code owner December 12, 2025 16:19
@Michael137
Copy link
Author

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants