Daniel Paoliello
788625757e
[NFC] Fix use-after-free: track TargetLibraryAnalysis in BasicAAResult invalidation ( #183852 )
...
`BasicAAResult` holds a reference to `TargetLibraryInfo` but its
`invalidate()` function did not check `TargetLibraryAnalysis`. When the
pass manager destroyed and re-created `TLI` (e.g. during `CGSCC`
invalidation or `FAM.clear()`), `BasicAAResult` survived with a dangling
`TLI` reference.
This was exposed by #157495 which added `aliasErrno()`, the first code
path that dereferences `TLI` from `BasicAAResult` during the `CGSCC`
pipeline, causing a AV when compiling Rust's core library on Arm64
Windows.
This change adds `TargetLibraryAnalysis` to the invalidation check so
`BasicAAResult` is properly invalidated when its `TLI` reference becomes
stale.
2026-02-27 15:19:14 -08:00
..
2025-10-22 10:58:38 -07:00
2026-02-25 13:53:44 +00:00
2025-11-05 14:48:50 -08:00
2025-11-11 13:33:33 +01:00
2026-02-27 15:19:14 -08:00
2026-02-15 12:06:42 -05:00
2026-01-12 12:18:01 -08:00
2026-01-21 08:44:51 -08:00
2025-08-22 10:33:46 -07:00
2025-10-01 08:58:47 +02:00
2025-12-02 05:48:18 -08:00
2026-01-12 12:18:01 -08:00
2026-02-20 15:01:40 +00:00
2026-01-17 01:36:52 +08:00
2026-02-24 11:29:53 +00:00
2026-01-13 21:19:39 +00:00
2025-10-01 15:32:07 -07:00
2026-02-18 09:34:49 +05:30
2026-01-14 09:40:29 +00:00
2025-08-19 01:11:16 +08:00
2026-02-24 11:39:14 +00:00
2025-11-10 09:07:06 -08:00
2026-02-11 20:49:41 +00:00
2025-11-05 09:18:49 -08:00
2025-11-10 12:17:12 +00:00
2026-01-22 01:21:31 +00:00
2025-10-29 21:50:12 +00:00
2025-10-28 16:14:46 -07:00
2026-01-13 08:44:48 -08:00
2025-12-15 10:16:06 -08:00
2026-01-12 12:18:01 -08:00
2026-02-03 12:20:21 -05:00
2026-02-23 18:06:47 -08:00
2025-11-20 00:14:50 +08:00
2026-02-25 14:07:51 +01:00
2026-01-27 13:05:03 +05:30
2026-02-24 14:49:01 +00:00
2026-01-21 08:44:51 -08:00
2026-01-02 20:42:56 -08:00
2026-01-23 12:10:55 +01:00
2026-02-15 12:06:42 -05:00
2026-01-08 09:30:11 +09:00
2026-02-15 12:06:42 -05:00
2026-02-25 13:51:13 +00:00
2026-02-02 08:26:51 +00:00
2026-02-27 10:19:03 -08:00
2026-02-02 21:26:49 +00:00
2026-01-28 22:46:25 -05:00
2025-09-23 14:54:29 -07:00
2025-10-22 20:41:39 +01:00
2026-02-12 12:55:54 -08:00
2026-02-27 11:36:24 +01:00
2026-02-27 11:36:24 +01:00
2025-10-20 07:28:50 -07:00
2026-02-06 15:33:04 +00:00
2026-02-27 10:04:30 -08:00
2026-02-15 12:06:42 -05:00
2025-10-01 15:32:07 -07:00
2025-11-06 07:57:05 -08:00
2025-12-03 22:00:12 +01:00
2026-02-27 10:41:54 +00:00
2026-02-16 09:14:57 +00:00
2026-02-24 16:14:44 +00:00
2025-12-09 21:00:27 +03:00
2025-11-12 17:21:06 +00:00
2026-02-06 09:49:14 -08:00
2025-11-19 16:05:00 -05:00
2026-02-25 14:09:52 +00:00
2025-11-10 12:17:12 +00:00
2025-11-10 12:17:12 +00:00
2025-09-16 17:59:31 +02:00
2025-12-10 23:14:34 +05:30
2026-02-27 19:33:59 +01:00
2026-02-09 15:32:04 +00:00