Steven Wu 66e9078f82
[LTO] Fix a use-after-free in legacy LTO C APIs (#107896)
Fix a bug that `lto_runtime_lib_symbols_list` is returning the address
of a local variable that will be freed when getting out of scope. This
is a regression from #98512 that rewrites the runtime libcall function
lists into a SmallVector.

rdar://135559037
2024-09-09 14:12:12 -07:00
..