llvm-project/clang/test/CodeGen/avr
Ayke van Laethem 131cddcba2
[AVR] Fix broken bitcast for aliases in non-zero address space
This was triggered by some code in picolibc. The minimal version looks
like this:

    double infinity(void) {
       return 5;
    }

    extern long double infinityl() __attribute__((__alias__("infinity")));

These two declarations have a different type (not because of the 'long
double', which is also 'double' in IR, but because infinityl has
variadic parameters). This led to a crash in the bitcast which assumed
address space 0.

Differential Revision: https://reviews.llvm.org/D138681
2022-11-27 15:27:42 +01:00
..
attributes
address-space-avr.c [CodeGen] Convert tests to opaque pointers (NFC) 2022-10-07 14:22:00 +02:00
alias-avr.c [AVR] Fix broken bitcast for aliases in non-zero address space 2022-11-27 15:27:42 +01:00
argument.c
avr-builtins.c
avr-flash.c
avr-inline-asm-constraints.c
avr-unsupported-inline-asm-constraints.c
functionptr-addrspace.c [CodeGen] Convert tests to opaque pointers (NFC) 2022-10-07 14:22:00 +02:00
objc-method.m [ObjC] type method metadata `_imp`, messenger routine at callsite with program address space 2022-08-04 05:40:32 -04:00
objc-property.m [ObjC] avoid crashing when emitting synthesized getter/setter and ptrdiff_t is smaller than long 2022-11-10 02:10:30 -05:00
return-value.c [clang] Fix wrong ABI of AVRTiny. 2022-11-17 08:38:44 +08:00