Skip to content
Snippets Groups Projects
  • Alp Toker's avatar
    1c09ec25
    Prevent link warnings due to -Wframe-larger-than= · 1c09ec25
    Alp Toker authored
    Although this is nominally a -W option, we actually handle it in the driver
    exactly as an f-group flag that's translated directly to -mllvm.
    
    That means f_Group (and unintuitively, not W_Group) has the semantics we want
    to make it behave like a standard warning flag: no automatic forwarding, no
    warning for link invocations and compile-only.
    
    Silences diagnostics like:
    
      [691/1545] Linking CXX executable bin/llvm-diff
      clang-3.5: warning: argument unused during compilation: '-Wframe-larger-than=2048'
    
    (Hopefully we can move towards handling these in the frontend but that'll
    require some infrastructure work.)
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212670 91177308-0d34-0410-b5e6-96231b3b80d8
    1c09ec25
    History
    Prevent link warnings due to -Wframe-larger-than=
    Alp Toker authored
    Although this is nominally a -W option, we actually handle it in the driver
    exactly as an f-group flag that's translated directly to -mllvm.
    
    That means f_Group (and unintuitively, not W_Group) has the semantics we want
    to make it behave like a standard warning flag: no automatic forwarding, no
    warning for link invocations and compile-only.
    
    Silences diagnostics like:
    
      [691/1545] Linking CXX executable bin/llvm-diff
      clang-3.5: warning: argument unused during compilation: '-Wframe-larger-than=2048'
    
    (Hopefully we can move towards handling these in the frontend but that'll
    require some infrastructure work.)
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212670 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.