[all-commits] [llvm/llvm-project] 599d1c: [Clang FE, SystemZ] Recognize -mpacked-stack CL o...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Dec 17 11:27:31 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 599d1cc07a51e9a556afa2a995930f7ffe0e42cd
      https://github.com/llvm/llvm-project/commit/599d1cc07a51e9a556afa2a995930f7ffe0e42cd
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/packed-stack.c

  Log Message:
  -----------
  [Clang FE, SystemZ]  Recognize -mpacked-stack CL option

Recognize -mpacked-stack from the command line and add a function attribute
"mpacked-stack" when passed. This is needed for building the Linux kernel.

If this option is passed for any other target than SystemZ, an error is
generated.

Review: Ulrich Weigand
https://reviews.llvm.org/D71441




More information about the All-commits mailing list