[all-commits] [llvm/llvm-project] a86901: [AArch64] Filter out invalid code model in frontend.

Kai Wang via All-commits all-commits at lists.llvm.org
Thu Aug 25 16:28:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8690143057b3e11c5aea5a45fcbabe3fd23b70b
      https://github.com/llvm/llvm-project/commit/a8690143057b3e11c5aea5a45fcbabe3fd23b70b
  Author: Hsiangkai Wang <hsiangkai at google.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/mcmodel.c

  Log Message:
  -----------
  [AArch64] Filter out invalid code model in frontend.

AArch64 only supports tiny, small, and large code model. Show error
messages when users specify other code model.

Fix https://github.com/llvm/llvm-project/issues/53402

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




More information about the All-commits mailing list