Commit d38ce97
[Metal] Fix
This PR fixes a bug in `MetalModuleNode::GetFunction`.
The lambda passed to autoreleasepool is supposed to return
nothing. Prior to this PR, it returns a function at an early
exit branch, which may cause the error of `EXC_BREAKPOINT`
in Metal.GetFunction of metal runtime (apache#18034)1 parent c3647bb commit d38ce97
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments