diff options
| author | Jesse Meyer <jesse.r.meyer@me.com> | 2026-02-02 13:34:36 -0500 |
|---|---|---|
| committer | Jesse Meyer <jesse.r.meyer@me.com> | 2026-02-03 20:16:20 -0500 |
| commit | 9eba12948a8e0c1b41cb5a63a4c781025ee61def (patch) | |
| tree | a7b5bf5a343bf473f89102bc19d3f3d238efa17c /src/entity.cpp | |
| parent | 43ad4a1d9f18a89822e1b9f554adef1a228136db (diff) | |
Skip sanitizer IR passes when LTO is enabled
With ThinLTO, the linker runs sanitizer passes at link time via
-fsanitize= flags, where it has whole-program visibility. Running
them at bitcode emission too double-instruments every module,
producing hundreds of "Redundant instrumentation detected" warnings.
Per-function sanitize/no_sanitize attributes are preserved in the
bitcode and respected by the linker's pass.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/entity.cpp')
0 files changed, 0 insertions, 0 deletions