summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/clang (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Import LLVM 5.0.0 release including clang, lld and lldb.patrick2017-10-04884-25510/+108025
|
* Actually enable the kprintf format attribute.kettenis2017-08-071-3/+4
| | | | ok florian@
* Backport https://reviews.llvm.org/D29778. Fixes a bug where clang waskettenis2017-08-041-3/+5
| | | | | | | optimizing code around an lgamma(3) call a bit too much. Fixes the lib/libm/lgamma regress test. ok patrick@, millert@
* Disable -Waddress-of-packed-member by default.kettenis2017-07-291-1/+1
| | | | | | | While these warnings have the potential to be useful, there are too manu false positives right now. ok deraadt@
* On OpenBSD disable the malloc/calloc/realloc/free/str*dup builtins, sincederaadt2017-07-281-0/+12
| | | | | | | | they can perform strange transforms and optimizations. Some of those could gain a slight advantage, but would avoid the variety of important runtime checks our malloc(3) code does. In essence, the transforms performed are considered "anti-mitigation". ok kettenis robert, discussions with others
* teach clang about our syslog format attributerobert2017-07-273-2/+5
| | | | ok deraadt@
* push back -pie to the linker if -pie is specified to avoid an unused argumentrobert2017-07-271-0/+3
| | | | | | warning ok kettenis@, deraadt@
* Enable -fwrapv by default with clang to treat signed integer overflowsjsg2017-06-061-1/+2
| | | | | | | | | | | | | as defined. This is done to prevent dangerous optimisations which could remove security critical overflow checks. Base gcc has -fno-strict-overflow by default, with clang this is identical to -fwrapv. Prompted by naddy@ discovering a hang with a clang compiled i386 kernel that was resolved with -fwrapv. ok kettenis@ pascal@
* Synonym -Wno-cpp for -Wno-#warnings. That one is not a headache forespie2017-06-021-0/+1
| | | | | | scripting. (got it into upstream, it's just a backport) okay kettenis@, patrick@
* Enable TLS support but default to the emulatated TLS model. Enable thekettenis2017-05-092-3/+2
| | | | | | | | runtime support code libcompiler_rt for this. This code uses functions that live in libpthread, so code that uses TLS support will need to be linked with -lpthread. This should allow more ports to build with base clang. ok espie@
* Merge LLVM 4.0.0 release.patrick2017-03-142-4/+5
|
* Import LLVM 4.0.0 release including clang and lld.patrick2017-03-1441-523/+526
|
* Disable colored diagnostics in the clang frontend.patrick2017-03-091-1/+1
| | | | Requested by deraadt@, millert@ and some more.
* Fix the types used on aarch64 to match what we have in <sys/types.h>.kettenis2017-02-251-1/+2
| | | | From Brad Smith.
* Disable -Wpointer-sign warnings per defaultstefan2017-02-121-1/+1
| | | | base gcc does the same. suggested by and ok jsg@
* Merge LLVM 4.0.0 rc1patrick2017-01-249-1719/+3088
|
* Import LLVM 4.0.0 rc1 including clang and lld to help the currentpatrick2017-01-24872-32345/+90505
| | | | development effort on OpenBSD/arm64.
* Make LLVM create strict aligned code for OpenBSD/arm64. We currentlypatrick2017-01-211-3/+7
| | | | | | | | don't enforce it yet, but we want to go down that road. Additionally the Pine64 seems to boot up with strict alignment on by default, so this also implicitly fixes efiboot on that hardware. ok kettenis@ phessler@ visa@
* Merge LLVM 3.9.1patrick2017-01-1496-13825/+3859
|
* Import LLVM 3.9.1 including clang and lld.patrick2017-01-14838-34093/+139097
|
* With clang as cross-compiler we need to make it pass the library pathpatrick2017-01-042-3/+5
| | | | | | | to our linker. Additionally, we need to make sure the library path is prefixed with the cross directory, which is sysroot. ok kettenis@
* Setup clang to use OpenBSD settings and defines for our AArch64patrick2016-11-281-0/+2
| | | | | | (little-endian) target. ok phessler@
* Disable -fstrict-aliasing per default on OpenBSD.pascal2016-09-271-2/+5
| | | | cluebat & ok kettenis@
* For now, force soft-float; our kernel doesn't support saving the FPU state yet.kettenis2016-09-171-0/+4
| | | | ok patrick@
* Fix types for OpenBSD/arm.kettenis2016-09-171-1/+5
| | | | ok stefan@, jsg@, patrick@
* Handle -p as an alias of -pg. From the ports patch.jsg2016-09-091-1/+1
| | | | ok patrick@
* Link to -lcompiler_rt instead of -lgcc.pascal2016-09-061-8/+2
| | | | looks good to stefan@
* libunwind relies on the EH frame header. Our OpenBSD frontend codepatrick2016-09-051-1/+2
| | | | | | | does not tell our linker to produce that header for statically linked binaries. Just create that header for all binaries and we are fine. ok guenther@
* Let clang use libc++/libc++abi and its header files per default. You can stillpascal2016-09-053-8/+59
| | | | | | use the old libstdc++ by specifying -stdlib=libstdc++. with hints from/looks good to patrick@, ok kettenis@
* Link static PIEs with the correct C runtime (rcrt0.o).pascal2016-09-051-0/+4
| | | | ok kettenis@
* Use the space freed up by sparc and zaurus to import LLVM.pascal2016-09-031663-0/+1051531
ok hackroom@