[all-commits] [llvm/llvm-project] 24684b: [sanitizer] Delay sanitizer args parsing (#107280)

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Thu Sep 5 14:09:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24684bb4a9791145a36a97477eb1fd525a122d8e
      https://github.com/llvm/llvm-project/commit/24684bb4a9791145a36a97477eb1fd525a122d8e
  Author: Evgenii Stepanov <eugeni.stepanov at gmail.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/fsanitize.c
    M clang/test/Driver/fuchsia.c

  Log Message:
  -----------
  [sanitizer] Delay sanitizer args parsing (#107280)

Delay sanitizer arg parsing until after -Xclang flags are forwarded to
the clang command line. This allows the check in hasTargetFeatureMTE to
pick up manually specified target feature, and enables the following:
  -march=armv8-a -Xclang -target-feature -Xclang +mte
  -fsanitize=memtag-stack



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list