summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/clang/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* teach clang about our syslog format attributerobert2017-07-272-2/+4
| | | | 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@
* 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-141-1/+1
|
* Import LLVM 4.0.0 release including clang and lld.patrick2017-03-1429-345/+319
|
* Fix the types used on aarch64 to match what we have in <sys/types.h>.kettenis2017-02-251-1/+2
| | | | From Brad Smith.
* Merge LLVM 4.0.0 rc1patrick2017-01-247-1439/+2919
|
* Import LLVM 4.0.0 rc1 including clang and lld to help the currentpatrick2017-01-24454-25693/+58778
| | | | 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-1434-3847/+3700
|
* Import LLVM 3.9.1 including clang and lld.patrick2017-01-14439-26862/+102222
|
* 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@
* 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-03672-0/+698595
ok hackroom@