summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/clang/lib/Driver (follow)
Commit message (Collapse)AuthorAgeFilesLines
* switch clang to -fno-common by defaultnaddy2021-02-061-19/+3
| | | | | | | | | | Common variables will be flagged as errors by default. This can be overridden with -fcommon. Cherry-pick this change that will be part of LLVM11. We bring it forward so we can finish fixing the fallout in the ports tree. ok deraadt@ sthen@ mglocker@
* Implement Loongson 2F BTB bug workaround in clangvisa2020-12-011-0/+5
| | | | | | | | | | This adapts the -mfix-loongson2f-btb workaround from as(1) to LLVM/clang. Because LLVM emits machine code directly without using assembly as intermediary form, the workaround has to be applied in the compiler backend in addition to the integrated assembler. Discussed with miod@ OK mortimer@
* Add RETGUARD implementation for powerpc and powerpc64.mortimer2020-10-121-0/+4
| | | | ok deraadt@ kettenis@
* Merge LLVM 10.0.1.patrick2020-08-091-0/+24
|
* Import LLVM 10.0.1 including clang, lld and lldb.patrick2020-08-099-22/+40
|
* default to -march=i586 on i386jsg2020-08-071-1/+1
| | | | | | | | | | | | llvm 9 and later take more care not to inline cmpxchg8b/cx8 with -march=i486 instead calling __atomic_* functions. This in turn breaks the build of a large number of ports. To avoid having to add a lock or conditionally building individual ports with -march=i586 change the default so 64 bit atomics will always be available. ok patrick@ sthen@ deraadt@
* Import LLVM 10.0.0 release including clang, lld and lldb.patrick2020-08-03113-0/+42942
ok hackroom tested by plenty