[all-commits] [llvm/llvm-project] aaf7ff: Teach `-fsanitize=fuzzer` to respect `-static` and...

Chandler Carruth via All-commits all-commits at lists.llvm.org
Mon Oct 26 18:44:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aaf7ffd4e1aa81c7f4cc8da4f943982ca2e131f4
      https://github.com/llvm/llvm-project/commit/aaf7ffd4e1aa81c7f4cc8da4f943982ca2e131f4
  Author: Chandler Carruth <chandlerc at gmail.com>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/fuzzer.c

  Log Message:
  -----------
  Teach `-fsanitize=fuzzer` to respect `-static` and `-static-libstdc++` when adding C++ standard libraries.

Summary:
Makes linking the sanitizers follow the same logic as the rest of the
driver with respect to the static linking strategy for the C++ standard
library.

Subscribers: mcrosier, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80488




More information about the All-commits mailing list