[all-commits] [llvm/llvm-project] 8ace12: [IR] convert warn-stack-size from module flag to f...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Jun 21 15:17:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ace12130526f450c822ca232d1f865b247d7434
      https://github.com/llvm/llvm-project/commit/8ace12130526f450c822ca232d1f865b247d7434
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/Frontend/fwarn-stack-size.c
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Module.h
    M llvm/lib/CodeGen/PrologEpilogInserter.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/CodeGen/ARM/warn-stack.ll
    M llvm/test/CodeGen/X86/warn-stack.ll
    R llvm/test/Linker/warn-stack-frame.ll
    A llvm/test/Verifier/invalid-warn-stack-size.ll

  Log Message:
  -----------
  [IR] convert warn-stack-size from module flag to fn attr

Otherwise, this causes issues when building with LTO for object files
that use different values.

Link: https://github.com/ClangBuiltLinux/linux/issues/1395

Reviewed By: dblaikie, MaskRay

Differential Revision: https://reviews.llvm.org/D104342




More information about the All-commits mailing list