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 D78117
[AVR] Define __ELF__ aykevl on Apr 14 2020, 8:36 AM. Authored by
Details
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.
Diff Detail
Event TimelineComment Actions The test/clang/Preprocessor/ directory may make more sense for such tests. Is it time to create a target-specific sub directory test/clang/Preprocessor/AVR/? Comment Actions I agree that these tests are in the wrong directory; please prepare a patch that moves them. This patch is okay to go, though. Comment Actions Okay, I have committed this patch and created a new patch to move the files: https://reviews.llvm.org/D78163 |