[PATCH] D65616: Ignore -fsemantic-interposition/-fno-semantic-interposition flag for gcc compatibility

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 07:44:51 PDT 2019


MaskRay added a comment.

In D65616#1634966 <https://reviews.llvm.org/D65616#1634966>, @serge-sans-paille wrote:

> Adding @hfinkel to the thread to confirm it's okay to add this behavior, as he authored an RFC on the subject (see https://lists.llvm.org/pipermail/llvm-dev/2016-November/107625.html)


-fsemantic-interposition was added in GCC 5.1. I don't think lots of projects in the wild are using it. The important D20217 <https://reviews.llvm.org/D20217> has been merged, I think we should actually implement this option instead of ignoring it (I'd be very happy to help this).

> that may be used by some gcc users

Can you just name the user groups? :) When they write `-fsemantic-interposition`, do they know that current clang doesn't match the GCC behavior?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65616/new/

https://reviews.llvm.org/D65616





More information about the cfe-commits mailing list