merge clang-16.0.6
import of clang from LLVM-16.0.6
Downgrade riscv64-specific LTO error to a warningError happens when mixing some PIC and non-PIC code in an LTO build/link ld: error: linking module flags 'SmallDataLimit': IDs have conflicting v
Downgrade riscv64-specific LTO error to a warningError happens when mixing some PIC and non-PIC code in an LTO build/link ld: error: linking module flags 'SmallDataLimit': IDs have conflicting values in '<REDACTED>.o' and 'ld-temp.o'and affects a few ports now. Issue reported upstream where the proposedfix uses llvm::Module::Min, which we don't have and would requirea backport. For now, work around this issue by downgrading toa warning, which should have the intended effect in most cases (use thevalue of the first module, which is smaller than the defaults value usedby ld-temp.o).ok kettenis@
show more ...
Merge LLVM 13.0.0.
Import LLVM 13.0.0 release.
Merge LLVM 11.1.0.
Import LLVM 11.1.0 release including clang, lld and lldb.
Fix va_arg in C++, Objective-C on 32-bit powerpcIn the PPC32 SVR4 ABI, a va_list has copies of registers from thefunction call. va_arg looked in the wrong registers for (the pointerrepresentation
Fix va_arg in C++, Objective-C on 32-bit powerpcIn the PPC32 SVR4 ABI, a va_list has copies of registers from thefunction call. va_arg looked in the wrong registers for (the pointerrepresentation of) an object in Objective-C, and for some types inC++. Fix va_arg to look in the general-purpose registers, not thefloating-point registers. Also fix va_arg for some C++ types, like amember function pointer, that are aggregates for the ABI.Anthony Richardby found the problem in Objective-C. Eli Friedmansuggested part of this fix.Fixes https://bugs.llvm.org/show_bug.cgi?id=47921I have submitted this diff as https://reviews.llvm.org/D90329ok kettenis@
Import LLVM 10.0.1 including clang, lld and lldb.
Import LLVM 10.0.0 release including clang, lld and lldb.ok hackroomtested by plenty