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

[OpenMP][FIX] Ensure we do not read outside the device image #74669

Merged
merged 1 commit into from
Dec 6, 2023

Commits on Dec 6, 2023

  1. [OpenMP][FIX] Ensure we do not read outside the device image

    Before we expected all symbols in the device image to be backed up with
    data that we could read. However, uninitialized values are not. We now
    check for this case and avoid reading random memory.
    
    This also replaces the correct readGlobalFromImage call with a
    isSymbolInImage check after
    llvm#74550 picked the wrong one.
    
    Fixes: llvm#74582
    jdoerfert committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    6f8927a View commit details
    Browse the repository at this point in the history