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

Enable new pass manager with LLVM 13 #88243

Merged
merged 4 commits into from
Sep 25, 2021
Merged

Enable new pass manager with LLVM 13 #88243

merged 4 commits into from
Sep 25, 2021

Commits on Sep 25, 2021

  1. Enable new pass manager on LLVM 13

    The new pass manager is enabled by default in clang since
    Clang/LLVM 13. While the discussion about this is still ongoing
    (https://lists.llvm.org/pipermail/llvm-dev/2021-August/152305.html)
    it's expected that support for the legacy pass manager will be
    dropped either in LLVM 14 or 15.
    
    This switches us to use the new pass manager if LLVM >= 13 is used.
    nikic committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    be01f42 View commit details
    Browse the repository at this point in the history
  2. Use correct pipeline for LTO at O0

    Unlike the pre-link piplines, the LTO pipelines do support O0,
    and using them is required to avoid leaving behind undefined
    references for the linker.
    nikic committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    074bbc6 View commit details
    Browse the repository at this point in the history
  3. Make expectation in panic-in-drop-abort.rs test more precise

    Check whether a call/invoke of the function exists, but don't
    match a leftover function declaration.
    
    Also remove the CHECK-LABELs: In panic-in-drop=unwind mode the
    call will not actually be in either of those functions, so
    remove the restriction and look for any calls.
    nikic committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    3183443 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51203dc View commit details
    Browse the repository at this point in the history