summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Driver
Commit message (Collapse)AuthorAgeFilesLines
* MFC r303031: clang++: Always use --eh-frame-hdr on FreeBSD, even for -staticemaste2016-07-221-1/+1
| | | | | | | | FreeBSD uses LLVM's libunwind on FreeBSD/arm64 today (and we expect to use it more widely in the future) and it requires the EH frame segment in static binaries. Approved by: re (kib)
* Pull r266775 from upstream clang trunk (by Douglas Katzman):dim2016-04-211-0/+6
| | | | | | | | | Pass dwarf-version to cc1as. Fix PR26999 - crashing in cc1as with any '*bsd' target. This should fix possible crashes when using -g in combination with -save-temps.
* Update llvm and clang to release_38 branch r261369.dim2016-02-212-0/+18
|
* Update llvm, clang and lldb to release_38 branch r260756.dim2016-02-132-0/+4
|
* Update llvm, clang and lldb to trunk r257626, and update build glue.dim2016-01-149-289/+342
|
* As a quick fix, import r257103 from upstream llvm trunk, and r257104dim2016-01-071-3/+0
| | | | | | from upstream clang trunk, which sets the default debug tuning back to gdb. The lldb debug tuning is not yet grokked completely by our ELF manipulation tools.
* Update clang to trunk r256945.dim2016-01-064-16/+57
|
* Merge ^/head r292936 through r292950.dim2015-12-301-6/+0
|\
* | Update clang to trunk r256633.dim2015-12-3016-2345/+4930
|/
* Pull in r248379 from upstream clang trunk (by Jörg Sonnenberger):dim2015-10-181-18/+28
| | | | | | | | | | | | | | | | | | Refactor library decision for -fopenmp support from Darwin into a function for sharing with other platforms. Pull in r248424 from upstream clang trunk (by Jörg Sonnenberger): Push OpenMP linker flags after linker input on Darwin. Don't add any libraries if -nostdlib is specified. Test. Pull in r248426 from upstream clang trunk (by Jörg Sonnenberger): Support linking against OpenMP runtime on NetBSD. Pull in r250657 from upstream clang trunk (by Dimitry Andric): Support linking against OpenMP runtime on FreeBSD.
* Update llvm, clang and lldb to 3.7.0 release.dim2015-09-065-158/+340
|
* Update llvm/clang to r242221.dim2015-08-1211-249/+676
|
* Update llvm/clang to r241361.dim2015-07-0511-2260/+2496
|
* Update llvm/clang to r240225.dim2015-06-239-205/+606
|
* Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunkdim2015-06-108-412/+396
| | | | r239412.
* Merge clang trunk r238337 from ^/vendor/clang/dist, resolve conflicts,dim2015-05-2712-857/+1969
| | | | and preserve our customizations, where necessary.
* Upgrade our copy of clang and llvm to 3.6.1 release.dim2015-05-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This release contains the following cherry-picked revisions from upstream trunk: 226124 226151 226164 226165 226166 226407 226408 226409 226652 226905 226983 227084 227087 227089 227208 227209 227210 227211 227212 227213 227214 227269 227430 227482 227503 227519 227574 227822 227986 227987 227988 227989 227990 228037 228038 228039 228040 228188 228189 228190 228273 228372 228373 228374 228403 228765 228848 228918 229223 229225 229226 229227 229228 229230 229234 229235 229236 229238 229239 229413 229507 229680 229750 229751 229752 229911 230146 230147 230235 230253 230255 230469 230500 230564 230603 230657 230742 230748 230956 231219 231237 231245 231259 231280 231451 231563 231601 231658 231659 231662 231984 231986 232046 232085 232142 232176 232179 232189 232382 232386 232389 232425 232438 232443 232675 232786 232797 232943 232957 233075 233080 233351 233353 233409 233410 233508 233584 233819 233904 234629 234636 234891 234975 234977 235524 235641 235662 235931 236099 236306 236307 Please note that from 3.5.0 onwards, clang and llvm require C++11 support to build; see UPDATING for more information.
* Merge llvm 3.6.0rc4 from ^/vendor/llvm/dist, merge clang 3.6.0rc4 fromdim2015-02-191-1/+2
| | | | ^/vendor/clang/dist, resolve conflicts, and update patches.
* Merge llvm 3.6.0rc3 from ^/vendor/llvm/dist, merge clang 3.6.0rc3 fromdim2015-02-141-1/+2
| | | | ^/vendor/clang/dist, resolve conflicts, and update patches README.
* Merge llvm 3.6.0rc2 from ^/vendor/llvm/dist, merge clang 3.6.0rc2 fromdim2015-01-312-0/+21
| | | | ^/vendor/clang/dist, resolve conflicts, and cleanup patches.
* Merge ^/head r277719 through 277776.dim2015-01-261-0/+5
|\
| * Pull in r227062 from upstream clang trunk (by Renato Golin):dim2015-01-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows Clang to use LLVM's fixes-x18 option This patch allows clang to have llvm reserve the x18 platform register on AArch64. FreeBSD will use this in the kernel for per-cpu data but has no need to reserve this register in userland so will need this flag to reserve it. This uses llvm r226664 to allow this register to be reserved. Patch by Andrew Turner. Requested by: andrew
* | Merge ^/head r277327 through r277718.dim2015-01-251-0/+11
|\ \ | |/
| * Allow clang to be built for mips/mips64 backend types by adding our mipssbruno2015-01-201-0/+11
| | | | | | | | | | | | | | | | | | | | triple ids This only allows testing and does not change the defaults for mips/mips64. They still build/use gcc by default. Differential Revision: https://reviews.freebsd.org/D1190 Reviewed by: dim
* | Merge llvm 3.6.0rc1 from ^/vendor/llvm/dist, merge clang 3.6.0rc1 fromdim2015-01-2518-1919/+2857
|/ | | | ^/vendor/clang/dist, resolve conflicts, and cleanup patches.
* Merge clang 3.5.0 release from ^/vendor/clang/dist, resolve conflicts,dim2014-11-2414-2439/+4275
| | | | and preserve our customizations, where necessary.
* Update the ARMv6 core clang targets to be an arm1176jzf-s. This brings usandrew2014-08-012-2/+4
| | | | | in line with gcc in base as this makes llvm generate code for the armv6k variant of the instruction set.
* Upgrade our copy of llvm/clang to 3.4.1 release. This release containsdim2014-05-125-34/+42
| | | | | | | | | | | | | | | mostly fixes, for the following upstream bugs: http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000 http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165 http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316 http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515 http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762 http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994 http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033 http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326 MFC after: 2 weeks
* Merge -fstandalone-debug from Clang r198655:emaste2014-05-071-2/+2
| | | | | | | | | | | | | Implement a new -fstandalone-debug option. rdar://problem/15685848 It controls everything that -flimit-debug-info used to, plus the vtable type optimization. The old -fno-limit-debug-info option is now an alias to -fstandalone-debug and vice versa. Standalone is the default on Darwin until dtrace is updated to work with non-standalone debug info (rdar://problem/15758808). Note: I kept the LimitedDebugInfo name in CodeGenOptions::DebugInfoKind because NoStandaloneDebugInfo sounded even more confusing.
* Amend r263891, by making clang default to DWARF2 debug info format fordim2014-04-111-3/+2
| | | | | | | | | | | all FreeBSD versions, not just 10.x and earlier. Apparently too many people seem to have trouble with post-1993 formats. Also remove the related notes about messing with kernel configuration files from UPDATING, which are now superfluous. Requested by: many MFC after: 3 days
* Make clang default to DWARF2 debug info format for FreeBSD 10.x anddim2014-03-291-2/+4
| | | | | | | earlier. For head, this commit does not change anything, but it is purely meant to be MFC'd. MFC after: 3 days
* Pull in r201662 from upstream clang trunk:andrew2014-03-222-3/+21
| | | | | | Add FreeBSD ARM EABI hard-float support Patch by Andrew Turner.
* Pull in r202179 from upstream clang trunk:dim2014-02-261-0/+5
| | | | Pass the sparc architecture variant to the assembler.
* Pull in r202177 from upstream clang trunk (by Roman Divacky):dim2014-02-261-1/+2
| | | | | | Give sparcv9 the ability to set the target cpu. Change it from accepting -march which doesnt exist on sparc gcc to -mcpu. While here adjust a few tests to not write an unused temporary file.
* Merge from head up to r262311.dim2014-02-211-1/+6
|\
| * Pull in r197521 from upstream clang trunk (by rdivacky):dim2014-02-211-1/+6
| | | | | | | | | | | | | | | | Use the integrated assembler by default on FreeBSD/ppc and ppc64. Requested by: jhibbits MFC after: 1 month X-MFC-With: r261991
* | Import a whole bunch of clang trunk commits to enable self-hosting clangdim2014-02-202-6/+67
|/ | | | | | | | | 3.4 on Sparc64 (commit descriptions left out for brevity): r198311 r198312 r198911 r198912 r198918 r198923 r199012 r199034 r199037 r199188 r199399 r200452 Submitted by: rdivacky
* Upgrade our copy of llvm/clang to 3.4 release. This version supportsdim2014-02-1620-3181/+3567
| | | | | | | | | | | | | | | | | all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html> MFC after: 1 month
* Pull in r196590 from upstream clang trunk (by rdivacky):dim2013-12-072-8/+8
| | | | | | | | | | | | | Move the body of GCCInstallationDetector ctor into an init() function and call it from its only user. The linux toolchain. This saves quite a lot of directory searching on other platforms. See http://docs.freebsd.org/cgi/mid.cgi?51E6FAF5.3080802 for the original discussion. With this fix, the search for gcc installations is completely eliminated on FreeBSD. Reported by: Kurt Lidl <lidl@pix.net> MFC after: 3 days
* On platforms where clang is the default compiler, don't build gcc or libstdc++.theraven2013-09-062-0/+37
| | | | | | | | | | | | | | | | | | To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change. GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build). Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains. Sorry to all of the people who helped who I forgot to mention by name. Reviewed by: bapt, imp, dim, ...
* Upgrade our copy of llvm/clang to 3.3 release.dim2013-06-128-204/+589
| | | | | | Release notes are still in the works, these will follow soon. MFC after: 1 month
* Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-1218-1815/+1888
| | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
* Pull in r177252 from upstream clang trunk:andrew2013-03-201-0/+1
| | | | | | | Make sure to use same EABI version for external assembler as for integrated as. This allows us to use gcc on a world built with clang on ARM.
* Pull in r172354 from upstream clang trunk:dim2013-02-222-61/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the x86 CPU name logic in the driver and pass -march and -mcpu flag information down from the Clang driver into the Gold linker plugin for LTO. This allows specifying -march on the linker commandline and should hopefully have it pass all the way through to the LTO optimizer. Fixes PR14697. Pull in r175919 from upstream clang trunk: Driver: Pass down the -march setting down to -cc1as on x86 too. The assembler historically didn't make use of any target features, but this has changed when support for old CPUs that don't support long nops was added. This should fix the long nops that still occurred in crt*.o, and possibly other object files, if the system was compiled for a CPU that does not support those, such as Geode. Note that gcc on i386 also does not pass through any -march, -mcpu or -mtune setting to gas, but this has not caused any trouble yet, because gas defaults to i386. Reported by: lev MFC after: 1 week
* Pull in r170096 from upstream clang trunk:andrew2012-12-233-0/+30
| | | | Initial support for FreeBSD on ARM.
* Upgrade our copy of llvm/clang to 3.2 release.dim2012-12-231-1/+5
| | | | | | | | | | Release notes for llvm: http://llvm.org/releases/3.2/docs/ReleaseNotes.html Release notes for clang: http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html MFC after: 2 weeks
* Upgrade our copy of llvm/clang to r168974, from upstream's release_32dim2012-12-0316-1091/+1549
| | | | | branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon.
* Pull in r164717 from upstream clang trunk:dim2012-10-031-3/+3
| | | | | | | | Allow -MF to be used in combination with -E -M or -E -MM. This should help with building the lang/ghc port. MFC after: 1 week
* Upgrade our copy of llvm/clang to trunk r162107. With thanks todim2012-08-2011-579/+1217
| | | | Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
* Similar to what is already done for Linux, make clang not complain aboutdim2012-07-281-0/+8
| | | | | | | | unused -g, -emit-llvm or -w arguments when doing linking. E.g. invoking "clang -g foo.o -o foo" will now be silent. Reported by: Jakub Lach <jakub_lach@mailplus.pl> MFC after: 1 week
OpenPOWER on IntegriCloud