[all-commits] [llvm/llvm-project] 5d1b3b: [Driver] Ignore -fno-semantic-interposition

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jan 14 12:09:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d1b3ba687690bbb37f911f66a2c2c5f19d60032
      https://github.com/llvm/llvm-project/commit/5d1b3ba687690bbb37f911f66a2c2c5f19d60032
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/clang_f_opts.c

  Log Message:
  -----------
  [Driver] Ignore -fno-semantic-interposition

Fedora wants to build projects with -fno-semantic-interposition (e.g.
https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup),
which is supported by GCC>=5.

Clang's current behavior is similar to -fno-semantic-interposition and
the end goal is to make it more so
(https://lists.llvm.org/pipermail/llvm-dev/2016-November/107625.html).
Ignore this option.

We should let users know -fsemantic-interposition is not currently
supported, so it should remain a hard error.

Reviewed By: serge-sans-paille

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




More information about the All-commits mailing list