[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
Tue Jan 14 10:44:41 PST 2020


MaskRay added a comment.

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

> (back on that one) The default in clang is implicitly `-fno-semantic-interposition`. I think we can safely support it, and either warn or error on  `-fsemantic-interposition`. @hfinkel does that seem correct to you?


Supporting `-fno-semantic-interposition` alone is good. Just don't silently ignore `-fsemantic-interposition` :)


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