summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-08-01The GlobalISel IRTranslator pass assumes that it is safe to use themortimer1-1/+2
LOAD_STACK_GUARD pseudo without consulting the value of useLoadStackGuardNode(), and then tries to add the return from getSDagStackGuard() as a parameter without consulting the return from getIRStackGuard() to see if it should do that. This means that the GlobalISel IRTranslator's implementation for Intrinsic::stackprotector is broken for platforms that implement getIRStackGuard() like we do, and this causes a segfault later when the incomplete LOAD_STACK_GUARD pseudo is lowered in the back end. Since GlobalISel is disabled on aarch64 most of the time anyway, add a bit that disables it for OpenBSD/aarch64 all the time. Fixes a crash when building on aarch64 without retguard, with a stack protector and without optimizations, which manifests when building cross-tools. ok patrick@ deraadt@
2019-06-23Import LLVM 8.0.0 release including clang, lld and lldb.patrick1-14/+71
2019-01-27Import LLVM 7.0.1 release including clang, lld and lldb.patrick1-8/+17
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.patrick1-29/+46
"where is the kaboom?" deraadt@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.patrick1-73/+71
2017-01-24Import LLVM 4.0.0 rc1 including clang and lld to help the currentpatrick1-91/+165
development effort on OpenBSD/arm64.
2017-01-14Import LLVM 3.9.1 including clang and lld.patrick1-16/+122
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.pascal1-0/+331
ok hackroom@