Visual Studio Clang does not recognize Sanitizer Flags

Open
#2,786 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
build-system

Research direction

Start by reproducing the issue with Visual Studio 2026, Clang, and the shown sanitize { "Address" } configuration. Trace how Premake handles sanitizer flags for this toolchain and verify that the generated project applies the requested sanitizer setting.

Written by the indexing model from the issue text.

Description

bug

For vs2026 + clang, sanitizer flags do not apply. E.g.:

sanitize { "Address" }
Dominant language
C
Stars
3.6k
Forks
654
Avg merge
1d 1h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from premake/premake-core

All issues in premake/premake-core

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.