Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LTO] Fix a use-after-free in legacy LTO C APIs (#107896) #9235

Merged

Commits on Sep 9, 2024

  1. [LTO] Fix a use-after-free in legacy LTO C APIs (llvm#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 llvm#98512 that rewrites the runtime libcall function
    lists into a SmallVector.
    
    rdar://135559037
    (cherry picked from commit 66e9078)
    cachemeifyoucan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    1d6f3b6 View commit details
    Browse the repository at this point in the history