[PATCH] D72829: Implement -fsemantic-interposition
    Fangrui Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan 28 10:39:50 PST 2020
    
    
  
MaskRay added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:3011
+  if (Args.hasArg(OPT_fsemantic_interposition) && Opts.PICLevel && !Opts.PIE)
+    Opts.SemanticInterposition = 1;
+
----------------
`Opts.SemanticInterposition` is initialized to 0 and is not assigned elsewhere.
`Opts.SemanticInterposition = ...` should be possible.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72829/new/
https://reviews.llvm.org/D72829
    
    
More information about the llvm-commits
mailing list