Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

malytomas/clang-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clang-issue

This repository provides minimal code to demomstrate possible issue with Clang 13.0.1 with MSVC-like command-line

The code is taken from https://github.com/BinomialLLC/basis_universal/blob/9009cae5407ef54f5030c1d0fabb1c2919c418bb/encoder/basisu_kernels_sse.cpp (modified)

Clang generates code that leads to segfault at runtine.

RelWithDebInfo configuration is affected only.

Possible workaround is to make the function extract_x86_extended_flags inline

To see all the test-cases go to the github actions page. The code is compiled and tested in multiple scenarios.

The issue has been reported to llvm: llvm/llvm-project#56626

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks