[all-commits] [llvm/llvm-project] fe06e2: [AVR] Define __ELF__
Ayke via All-commits
all-commits at lists.llvm.org
Tue Apr 14 15:23:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fe06e231ff1536e7d0a99551590f6de5a38ce23a
https://github.com/llvm/llvm-project/commit/fe06e231ff1536e7d0a99551590f6de5a38ce23a
Author: Ayke van Laethem <aykevanlaethem at gmail.com>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M clang/lib/Basic/Targets/AVR.cpp
M clang/test/CodeGen/avr/target-cpu-defines/atmega328p.c
M clang/test/CodeGen/avr/target-cpu-defines/attiny104.c
M clang/test/CodeGen/avr/target-cpu-defines/common.c
Log Message:
-----------
[AVR] Define __ELF__
This symbol is defined in avr-gcc. Because AVR normally uses the ELF
format, define the symbol unconditionally.
This patch is needed to get Clang to compile compiler-rt.
Differential Revision: https://reviews.llvm.org/D78117
More information about the All-commits
mailing list