Skip to content

Add assertions enabled build of DXC trunk to Compiler Explorer #6550

Open

Description

@llvm-beanz

During triage it is super helpful to be able to know if input that causes a crash also hits asserts. For this purpose it would be extremely useful to have an asserts-enabled build of DXC on Compiler Explorer. There is an asserts-enabled build of Clang trunk on CE, so this has existing analog.

### Tasks
- [ ] Add DXC asserts enabled build to the build-dxc script (https://github.com/compiler-explorer/misc-builder)
- [ ] Add DXC asserts enabled build to hlsl build configurations (https://github.com/compiler-explorer/infra)
- [ ] Add DXC asserts enabled build to CE (https://github.com/compiler-explorer/compiler-explorer)

Activity

  1. changed the title [-]Add assertions enabled build of DXC trunk to Compiler Exploerer[/-] [+]Add assertions enabled build of DXC trunk to Compiler Explorer[/+] on Apr 22, 2024
  2. devshgraphicsprogramming commented on Apr 29, 2024

    @devshgraphicsprogramming

    Would be useful because I've recently pulled the latest master and suddenly this shader produces runtime access violation reading address 0x0000000000000008 but only with a debug build of DXC

    https://godbolt.org/z/cPcP17Yze

  3. devshgraphicsprogramming commented on May 2, 2024

    @devshgraphicsprogramming

    I have my Godbolt own instance and I have a 8 hourly Debug build of DXC

    Here's an example of very badly mismatched SPIR-V

    (sorry short links don't work yet)

    How do I make the asserts print a stack or something instead of just?

    Internal compiler error: LLVM Assert
    Compiler returned: 3758096385
    
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

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions