[all-commits] [llvm/llvm-project] e7b6c0: [clang][XCore] Define __xcore__ for XCore target.

Nigel Perks via All-commits all-commits at lists.llvm.org
Mon Apr 26 07:07:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7b6c0f398ee5975bf9f39e629713ae446e8fe01
      https://github.com/llvm/llvm-project/commit/e7b6c0f398ee5975bf9f39e629713ae446e8fe01
  Author: Nigel Perks <nigelp at xmos.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M clang/lib/Basic/Targets/XCore.cpp
    M clang/test/Preprocessor/init.c

  Log Message:
  -----------
  [clang][XCore] Define __xcore__ for XCore target.

The headers shipped with the XMOS XCore compiler expect __xcore__ to be defined.
The __XS1B__ macro, already defined, is for the default subtarget.

No other targets affected.




More information about the All-commits mailing list