summaryrefslogtreecommitdiff
path: root/gnu/llvm/tools
AgeCommit message (Collapse)Author
2020-08-03Remove LLVM 8.0.1 files.Patrick Wildt
2019-06-23Import LLVM 8.0.0 release including clang, lld and lldb.Patrick Wildt
2019-01-27Import LLVM 7.0.1 release including clang, lld and lldb.Patrick Wildt
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2017-12-24Import LLVM 5.0.1 release including clang, lld and lldb.Patrick Wildt
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2017-01-24Import LLVM 4.0.0 rc1 including clang and lld to help the currentPatrick Wildt
development effort on OpenBSD/arm64.
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2020-07-18int64_t and intmax_t are always (signed) long long on OpenBSD.Mark Kettenis
ok deraadt@
2020-07-11Set the default ABI for OpenBSD to ELFv2 in the clang frontend as well.Mark Kettenis
This makes sure the compiler defines the _CALL_ELF pre-processor symbol correctly. ok mortimer@
2020-06-28Make long double the same as double for now on powerpc64 like we do onMark Kettenis
powerpc. This matched what FreeBSD does. ok patrick@
2020-05-30Powerpc64 should use same _mcount profiling as powerpc 32bit.Dale Rahn
ok kettenis@
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2020-05-25PowerPC: optimize away the frame pointer.gkoehler
clang defaulted to -fomit-frame-pointer when optimizing PowerPC code for Linux and NetBSD. Now do it for all systems, including OpenBSD. This affects both 32-bit and powerpc64 code. ok kettenis@
2020-05-20Make sure that we add our OpenBSD specific defines on PowerPC64 targets.Patrick Wildt
Prompted and tested by drahn@ ok deraadt@ drahn@ kettenis@ visa@
2020-04-05Define the appropriate __GCC_HAVE_SYNC_COMPARE_AND_SWAP_* symbols like allMark Kettenis
other clang platforms do. ok jca@
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2020-03-04Switch powerpc clang to -msvr4-struct-return, like gcc.gkoehler
Add these options from gcc to clang: -maix-struct-return # return all structs in memory -msvr4-struct-return # return small structs in r3/r4 ok mortimer@ jca@ deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-12-21Add arm64 support for lldb.mortimer
"Go for it" kettenis@
2019-11-29Sort relative relocations (and relocations against the same symbol) by offsetPhilip Guenther
to optimize the cache and UVM faulting behavior ok kettenis@
2019-11-27In lldb, use a OpenBSD signal map instead of leveraging the FreeBSD one.mortimer
ok kettenis@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2019-11-26Add bits to allow lldb to find lldb-server.mortimer
lldb likes to look at argv[0] to figure out where it might find lldb-server, but when we invoke lldb via $PATH this doesn't work, so fill in some helpers to tell it where to look. ok millert@
2019-11-26Do not process 0 size DT_PLTRELSZ sections.mortimer
Fixes an assert when running lldb with DEBUG. ok patrick@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2019-11-10Cope with missing PT_* operations on some architecturesTheo de Raadt
with mortimer
2019-11-09Add lldb support for debugging running binaries on amd64.mortimer
Follows a similar model as NetBSD. Much help from patrick, kettenis and guenther. lldb and lldb-server remain not installed by default. ok patrick@
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2019-10-25Add retguard for octeon/mips64.mortimer
For this architecture we use separate retguard prologue and epilogue code for static or PIC code. In the PIC case we use some additional code before the retguard epilogue to recover the function start address and the GOT pointer in order to get the per-function random cookie. Much thanks to visa@ for suggestions and advice making it all work. ok deraadt@ visa@
2019-09-28Make clang emit the proper path to our libcompiler_rt.a when asked to.Patrick Wildt
Change of behaviour in latest clang upgrade noticed by jsing@ during the Go port update, where --print-libgcc-file-name is being used which prints the compiler-rt path. ok kettenis@
2019-09-01Merge LLVM 8.0.1 release.Patrick Wildt
Tested in snaps and package builds Tested on amd64 by naddy@ Tested on arm64 by patrick@ Tested on octeon by visa@
2019-09-01Import LLVM 8.0.1 release including clang, lld and lldb.Patrick Wildt
2019-07-01Implement the 'h' register constraint on mips64. This lets clang buildVisa Hankala
pieces of software that use the constraint if the compiler claims to be compatible with GCC 4.2.1. Note that the constraint was removed in GCC 4.4. The reason was that 'h' could generate code whose result is unpredictable. The underlying reason is that the HI and LO registers are special, and the optimizer has to be careful when choosing the order of HI/LO accesses. It looks that LLVM has the needed logic.
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2019-06-26In LLVM 8 somebody had the glorious idea to enable the integrated assemblerClaudio Jeker
for OpenBSD sparc64. The problem is that the integrated assembler is not even able to compile the .S files in lib/csu or lib/libc so revert this and use gas again. Fixes build issues with clang on sparc64. Issue identified by jca@ OK deraadt@, patrick@, jca@
2019-06-24The -nopie flag has already been pushed a few lines before,Patrick Wildt
we don't need to do that again here. From Brad
2019-06-23Merge LLVM 8.0.0 release.Patrick Wildt
Prepared with help from jsg@ and mortimer@ Tested on amd64 by bcallah@, krw@, naddy@ Tested on arm64 by patrick@ Tested on macppc by kettenis@ Tested on octeon by visa@ Tested on sparc64 by claudio@
2019-06-23Import LLVM 8.0.0 release including clang, lld and lldb.Patrick Wildt
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2017-01-24Import LLVM 4.0.0 rc1 including clang and lld to help the currentPatrick Wildt
development effort on OpenBSD/arm64.
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-06-01Back out frame pointer elimination optimization.mortimer
2019-06-01Do not eliminate frame pointers on i386. The entire i386 ecosystem assumesmortimer
it will be there. problem found by naddy@, "heck yeah" kettenis@
2019-05-31Re-enable frame pointer elimination for x86 and mips64 if optimizations aremortimer
enabled. ok visa@
2019-05-16Stop using the moribund MLINKS bsd.man.mk feature for clang(1).Ingo Schwarze
Patch clang.rst such that "gmake -f Makefile.sphinx man" keeps working. Using input from jsg@; OK patrick@; "no worries" deraadt@