[all-commits] [llvm/llvm-project] 1acac5: [sanitizer] Fix empty string in unsupported argume...

Sinkevich Artem via All-commits all-commits at lists.llvm.org
Thu May 15 11:13:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1acac5cd38210131c543e4635fcbfd4d597e15f5
      https://github.com/llvm/llvm-project/commit/1acac5cd38210131c543e4635fcbfd4d597e15f5
  Author: Sinkevich Artem <a.sinkevich at ispras.ru>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/test/Driver/fsanitize.c

  Log Message:
  -----------
  [sanitizer] Fix empty string in unsupported argument error for -fsanitize-trap (#136549)

When using `-fsanitize-trap` with a sanitizer group that doesn't support
trapping, an empty argument is passed to
`err_drv_unsupported_option_argument`. Use new `toStringWithGroups` for
the diagnostic.



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