[all-commits] [llvm/llvm-project] d2e949: [AArch64] Predefine __AARCH64_CMODEL_*__ as GCC does

Roland McGrath via All-commits all-commits at lists.llvm.org
Fri Feb 21 23:28:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d2e949eed5b49ca70a8845dfaf7bac6ca40c429d
      https://github.com/llvm/llvm-project/commit/d2e949eed5b49ca70a8845dfaf7bac6ca40c429d
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/test/Preprocessor/init-aarch64.c

  Log Message:
  -----------
  [AArch64] Predefine __AARCH64_CMODEL_*__ as GCC does

Make Clang on aarch64 targets predefine `__AARCH64_CMODEL_SMALL__`
or `__AARCH64_CMODEL_TINY__`, etc.  These are the names that GCC
uses for its predefines.

Reviewed By: tamur, MaskRay

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




More information about the All-commits mailing list