[all-commits] [llvm/llvm-project] fb57f4: Allow multiple sanitizers on baremetal targets. (#...

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Tue Nov 21 13:11:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb57f4e0e0b302ec1b3181e952a4bd4b3c57a286
      https://github.com/llvm/llvm-project/commit/fb57f4e0e0b302ec1b3181e952a4bd4b3c57a286
  Author: Evgenii Stepanov <eugeni.stepanov at gmail.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/BareMetal.h
    M clang/test/Driver/fsanitize.c

  Log Message:
  -----------
  Allow multiple sanitizers on baremetal targets. (#72933)

Baremetal targets tend to implement their own runtime support for
sanitizers. Clang driver gatekeeping of allowed sanitizer types is
counter productive.

This change allows anything that does not crash and burn in compilation,
and leaves any potential runtime issues for the user to figure out.




More information about the All-commits mailing list