Skip to content

Fix UBSAN alignment failures #5804

Open

Description

In this PR, UBSAN's alignment sanitizer is disabled.

I attempted to address these with a short-term fix (see this commit and this Godbolt code), but unfortunately, the code that makes use of the CheckedReaderWriter, such as in DxilPipelineStateValidation::ReadOrWrite, was just becoming too gnarly and difficult to read. Chris B (@llvm-beanz) has reimplemented this code in upstream Clang properly, and perhaps at some point, we can back-port that code into DXC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtech-debt

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions