[PATCH] D72829: Implement -fsemantic-interposition

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 10:31:00 PST 2020


MaskRay added a comment.

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

> @MaskRay should we add a verifier step to check that pie/pic/semanticinterposition module flags are consistent, or leave that to clang ?


I suppose you mean whether "SemanticInterposition" should be invalidated when `"PIC Level"` does not exist or `"PIE Level"` exists. I am a bit inclined to make it more flexible/orthogonal in the backend, i.e. SemanticInterposition is in affect even if "PIE Level" is set.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72829





More information about the cfe-commits mailing list