[PATCH] D100509: Support GCC's -fstack-usage flag
    Pengxuan Zheng via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon May 10 11:59:06 PDT 2021
    
    
  
pzheng marked 2 inline comments as done.
pzheng added inline comments.
================
Comment at: clang/include/clang/Basic/CodeGenOptions.def:110
 CODEGENOPT(StackSizeSection  , 1, 0) ///< Set when -fstack-size-section is enabled.
+CODEGENOPT(StackUsage        , 1, 0) ///< Set when -fstack-usage is enabled.
 CODEGENOPT(ForceDwarfFrameSection , 1, 0) ///< Set when -fforce-dwarf-frame is
----------------
MaskRay wrote:
> Unneeded
I tried removing this line, but TableGen doesn't seem to generate the fstack_usage flag anymore. Looks like this needs to be kept. Thoughts?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100509/new/
https://reviews.llvm.org/D100509
    
    
More information about the cfe-commits
mailing list