summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/clang/lib/CodeGen (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove LLVM 8.0.1 files.patrick2020-08-0387-148271/+0
|
* Switch powerpc clang to -msvr4-struct-return, like gcc.gkoehler2020-03-041-6/+74
| | | | | | | | 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@
* Import LLVM 8.0.1 release including clang, lld and lldb.patrick2019-09-012-24/+17
|
* Merge LLVM 8.0.0 release.patrick2019-06-231-37/+92
| | | | | | | | | 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@
* Import LLVM 8.0.0 release including clang, lld and lldb.patrick2019-06-2368-3001/+8532
|
* Merge LLVM 7.0.1 release.patrick2019-01-271-214/+319
| | | | | With fixes from mortimer@ (thanks!) Tested by many, especially naddy@ (thanks!)
* Import LLVM 7.0.1 release including clang, lld and lldb.patrick2019-01-2776-7337/+17414
|
* Add RETGUARD to clang for amd64. This security mechanism uses per-functionmortimer2018-06-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | random cookies to protect access to function return instructions, with the effect that the integrity of the return address is protected, and function return instructions are harder to use in ROP gadgets. On function entry the return address is combined with a per-function random cookie and stored in the stack frame. The integrity of this value is verified before function return, and if this check fails, the program aborts. In this way RETGUARD is an improved stack protector, since the cookies are per-function. The verification routine is constructed such that the binary space immediately before each ret instruction is padded with int03 instructions, which makes these return instructions difficult to use in ROP gadgets. In the kernel, this has the effect of removing approximately 50% of total ROP gadgets, and 15% of unique ROP gadgets compared to the 6.3 release kernel. Function epilogues are essentially gadget free, leaving only the polymorphic gadgets that result from jumping into the instruction stream partway through other instructions. Work to remove these gadgets will continue through other mechanisms. Remaining work includes adding this mechanism to assembly routines, which must be done by hand. Many thanks to all those who helped test and provide feedback, especially deaadt, tb, espie and naddy. ok deraadt@
* Import LLVM 6.0.1 release including clang, lld and lldb.patrick2018-04-0660-3385/+9649
| | | | "where is the kaboom?" deraadt@
* Import LLVM 5.0.1 release including clang, lld and lldb.patrick2017-12-245-21/+48
|
* Tedu files that got removed in LLVM 5.0.0.patrick2017-10-042-567/+0
|
* Import LLVM 5.0.0 release including clang, lld and lldb.patrick2017-10-0464-3556/+10631
|
* Import LLVM 4.0.0 release including clang and lld.patrick2017-03-145-11/+10
|
* Import LLVM 4.0.0 rc1 including clang and lld to help the currentpatrick2017-01-2473-4685/+9534
| | | | development effort on OpenBSD/arm64.
* Merge LLVM 3.9.1patrick2017-01-141-19/+0
|
* Import LLVM 3.9.1 including clang and lld.patrick2017-01-1467-4950/+14299
|
* Use the space freed up by sparc and zaurus to import LLVM.pascal2016-09-0376-0/+105462
ok hackroom@