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

Invoke OptimizerLastEPCallbacks in PreLinkThinLTO #69665

Merged
merged 3 commits into from
Mar 4, 2020

Commits on Mar 3, 2020

  1. Invoke OptimizerLastEPCallbacks in PreLinkThinLTO

    The default ThinLTO pre-link pipeline does not include optimizer last
    extension points. Thus, when using the new LLVM pass manager & ThinLTO
    & sanitizers on any opt-level different from zero, the sanitizer
    function passes would be omitted from the pipeline.
    
    Add optimizer last extensions points manually to the pipeline, but guard
    registration with stage check in the case this behaviour changes in the
    future.
    tmiasko committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    a61e134 View commit details
    Browse the repository at this point in the history
  2. Add test for -Znew-llvm-pass-manager -Clto=thin -Zsanitizer=...

    Additionally verify that the current implementation of LLVM version
    check (which uses lexicographic ordering) is good enough to exclude
    versions before LLVM 9, where the new LLVM pass manager is unsupported.
    tmiasko committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    52c5f2a View commit details
    Browse the repository at this point in the history
  3. Fix check for __msan_keep_going in sanitizer-recover test

    Match `@__msan_keep_going = weak_odr constant i32 1`.
    tmiasko committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    b0e288d View commit details
    Browse the repository at this point in the history