[all-commits] [llvm/llvm-project] 9af5de: [driver] Fix sanitizer libc++ runtime linking (#12...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Dec 18 10:38:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9af5de320b77d3757ea2b7e3d85c67f88dfbabb5
      https://github.com/llvm/llvm-project/commit/9af5de320b77d3757ea2b7e3d85c67f88dfbabb5
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-12-18 (Wed, 18 Dec 2024)

  Changed paths:
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/test/Driver/sanitizer-ld.c
    M compiler-rt/test/hwasan/TestCases/sizes.cpp

  Log Message:
  -----------
  [driver] Fix sanitizer libc++ runtime linking (#120370)

1. -f[no-]sanitize-link-c++-runtime suppose to
   override defauld behavior implied from `CCCIsCXX`
2. Take into account -nostdlib++ (unblocks #108357)
3. Fix typo hasFlag vs hasArg.



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