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

Rearrange default_configuration and CheckCfg::fill_well_known. #118494

Merged

Commits on Dec 10, 2023

  1. Rearrange default_configuration and CheckCfg::fill_well_known.

    There are comments saying these two functions should be kept in sync,
    but they have very different structures, process symbols in different
    orders, and there are some inconsistencies.
    
    This commit reorders them so they're both mostly processing symbols in
    alphabetical order, which makes cross-checking them a lot easier. The
    commit also adds some macros to factor out repetitive code patterns.
    Plus it adds `sanitizer_cfi_normalize_{integers,pointers}` to
    `fill_well_known`, which were missing.
    
    The commit also moves the handling of `sym::test` out of
    `build_configuration` into `default_configuration`, where all the other
    symbols are handled.
    nnethercote committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    22b534d View commit details
    Browse the repository at this point in the history