Files
swift-mirror/test/SILOptimizer/dead_function_elimination.swift
Erik Eckstein bbcc9f5943 DeadFunctionElimination: keep global variables alive which are referenced from another global
Fixes a compiler crash in case a private global is only reference from another global variable, for example:

```
private var g1 = 27
let g2 = UnsafePointer(&g1)
```

rdar://117189962
2023-10-19 20:29:30 +02:00

4.7 KiB